[REBOL] Re: Changing VID Styles
From: sanghabum:aol at: 11-Dec-2001 19:08
> > I have a layout with a load of entry fields (VID style Field). I need to
> > occassionaly display this with all entry fields disabled.
> i expect you should change the complete feel, since this defines how
> a face reacts.
> for fields it should be: ctx-text/swipe
> for info it should be: ctx-text/edit
Thanks for the response. How do you learn this stuff? help ctx-text on my
machine starts an infinite molded print.
I've been thinking a bit more about my problem. And It gets more complicated.
I want to "freeze" check boxes, Choice boxes, and disable the "Save" button
and so forth. That's going to be a lot of work to set a display to "read
I've hit on another way that'll do the job for my application. The solution
is to display the layout as an image when read only. The crude code below is
DataWindow: layout/offset [field button
[DisplayBox/Image: make Image! MainPanel/Pane
field button field
view/new layout/offset [MainPanel: box 300x400] 0x0
DisplayPanel: layout/offset [DisplayBox: box 300x400
 ; no left click
;; Right click to "reactivate"
[ MainPanel/Pane: DataWindow