[ALLY] Redrawn Out
From: mike::myers::cybarite::com at: 5-Jan-2001 17:25
Redrawn Out
I am trying to bind some interacters especially txt display values to an object that
I used to collect the user input
user-input: make object! [
first-name: none
last-name: none
date-of-birth: none ; and so on
]
so when I get these from the interacters on input, I can hold them and use them in the
application flow.
At the end of the data collection, I want to display the values in a verfication screen.
Each field can be moved and refreshed individually. The old View document suggests that
the right way to do this is to fire the redraw function e.g.
return txt "First Name"
tab txt with [
feel: make feel [
redraw: func [face [object!] action [word!] offset [pair!]][
text: user-input/first-name]
]
]
But after doing a few of these, the tedium and amount of keying makes me think this is
not what was intended given that all I want to do is pass one value to the definition
(here "user-input/first-name").
I can create a style that will look at the texts following the txt definition and use
that.
Did anyone work their way through this and come out the other side with something else?
Am I missing something in the /View architecture?