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

[ALLY] form hiding Re:(2)

From: allenk:powerup:au at: 8-Sep-2000 8:28

----- Original Message ----- From: <[johnkenyon--uk--ibm--com]> To: <[ally--rebol--com]> Sent: Friday, September 08, 2000 3:16 AM Subject: [ALLY] form hiding Re:
> > Hi, > try > view layout [ field hide ] > > As a general question to the rebol experts ... > > How do you get help in a dialect? > > Is there some way of doing ? field in layout or ? copy parse ? > This would be vital as I often rely on ? to avoid having to load up docs. > Even more important in the current view betas where there are no docs.
Hi John, These might help.. To print a list of style names use you can use this print-styles: func [ {Print List of Styles in master stylesheet} /sheet style-sheet [block!]{Specify a style sheet other than master} ][ if not sheet [style-sheet: system/view/vid/vid-styles] foreach [style object] style-sheet [print style] ] ;usage print-styles ss: stylize [bingo: text] print-styles/sheet ss You can also probe individual styles from the master style by using get-style 'name (this only works on the master sheet) e.g probe get-style 'button This version one can be used on other style sheets also get-style2: func [ {Get a style object from the master stylesheet} name /sheet style-sheet [block!]{Specify a style sheet other than master} ][ if not sheet [style-sheet: system/view/vid/vid-styles] select style-sheet name ] ;--usage probe get-style2 ' button ss: stylize [bingo: text] probe get-style2/sheet 'bingo ss Cheers, Allen K