how to switch between info and field ?
[1/3] from: sdidierjean::yahoo::fr at: 20-Feb-2002 9:15
Hi,
All is in the title, I would like to make a field
no-editable and after switch it editable, how can I do
this in Rebol in a simple way ?
Thanks in advance
Stephane
[2/3] from: brett:codeconscious at: 20-Feb-2002 19:42
Hi,
Try this:
view layout [
across
label "enabled: "
check true [
either value [
fld/feel: ctx-text/edit
fld/color: svvc/field
] [
fld/feel: ctx-text/swipe
fld/color: 180.180.180
]
show fld/parent-face
] return
fld: field "Sample text"
]
Regards,
Brett.
----- Original Message -----
From: "Stéphane Didierjean" <[sdidierjean--yahoo--fr]>
To: <[rebol-list--rebol--com]>
Sent: Wednesday, February 20, 2002 7:15 PM
Subject: [REBOL] how to switch between info and field ?
Hi,
All is in the title, I would like to make a field
no-editable and after switch it editable, how can I do
this in Rebol in a simple way ?
Thanks in advance
Stephane
[3/3] from: rotenca:telvia:it at: 20-Feb-2002 20:44
Or try this:
view layout [f: field "a" button [f/feel: none ][f/feel: ctx-text/edit]]
I do not like how the 'info style works (swipe object).
---
Ciao
Romano