Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Changing VID Styles

From: nitsch-lists:netcologne at: 11-Dec-2001 20:02

RE: [REBOL] Changing VID Styles [Sanghabum--aol--com] wrote:
> Hi all, > > I have a layout with a load of entry fields (VID style Field). I need to > occassionaly display this with all entry fields disabled. > > So (I think) I need a way of running through the layout and changing all > 'field style faces to 'info style (and vice versa to make it enterable again). > > But it doesn't seem as simple as running through the faces and changing > style: 'field to style 'info. > > I've done a bit of Vid-diving, and it looks like I have to hand-carve entries > for feel/redraw and feel/key as well as Style. > > But I don't particularly want to set feel entries by hand. That might leave > me with wrong defaults in later versions of View/VID. > > Are there any better suggestions out there? >
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 says info is derived from a field, so a info should have all a field-face needs? but not tested. (probe get in get-style 'info 'facets) gives usually the source-code of a style, 'style the base-style. have not seen both used til now)
> Thanks, > Colin.