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

[REBOL] Style sheet problem + "OnChange" behavior - how to implement?

From: geza67:freestart:hu at: 7-Jul-2001 19:08

Hello REBOLers! I would like to globally change the appearance of my panels in a layout, but fiddling around with styles does not work. The following code snippet causes although no error, the expected visual "enhancements" :-) of the 'mypanel style simply do not show up: Are panels exempt from redefinition unlike "smaller", non-container-like facets i.e. buttons or fields ? sty: stylize [ mypanel: panel [ backdrop: water edge: [effect: 'bevel] origin: 1x1 ] ] main: layout [ styles sty across mypanel 150x150 [ across label "hello" field ] mypanel 200x100 [ text-list data [ "One" "Two" "Three" ] ] ] view main ---- My other problem is: I have several input facets of different types (fields, text lists, choosers) in a form. How could a global "on-change" event handler be implemented to collect the results from the form elements in case values of the facets were modified ? Thank you for your reactions! Cheers, Geza P.S. I feel really intimidated that such a gorgeous language like REBOL has such an insufficient documentation. Although the "heavy-loaded" CORE.PDF elucidated many aspects of core language constructs, serious GUI building is still a pain in lack of a coherent, sufficiently deep, exploratory textbook (alias VIEW.PDF :-)) ) ... or am I expecting too much yet in the dawn of a new programming era ? :-)