[ALLY] Refreshing field contents Re:
[1/3] from: al::bri::xtra::co::nz at: 17-Oct-2000 0:15
> I got the following code:
> mywindow: layout [
<<quoted lines omitted: 3>>
> view mywindow
> So when the user presses the button, the field still looks empty until the
user selects the field again.
> How can I tell view to refresh the contents of the window ?
button "set field contents" [myfield/text: "a sample text" show myfield]
Andrew Martin
Rebol eGroupie
ICQ: 26227169
http://members.nbci.com/AndrewMartin/
[2/3] from: jean:holzammer:faedv-n:bayern at: 17-Oct-2000 8:26
Hi,
I got the following code:
mywindow: layout [
myfield: field
button "set field contents" [myfield/text: "a
sample text"]
]
view mywindow
So when the user presses the button, the field still looks empty until the
user selects the field again.
How can I tell view to refresh the contents of the window ?
ciao,
Jean
[3/3] from: jean:holzammer:faedv-n:bayern at: 17-Oct-2000 12:04
> > I got the following code:
> >
<<quoted lines omitted: 5>>
> > view mywindow
> > So when the user presses the button, the field still looks empty until
the
> user selects the field again.
> >
> > How can I tell view to refresh the contents of the window ?
>
> button "set field contents" [myfield/text: "a sample text" show myfield]
>
works fine, thanks.
Jean
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted