[REBOL] Style sheet problem + "OnChange" behavior - how to implement?
From: geza67:freestart:hu at: 7-Jul-2001 19:08
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 [
edge: [effect: 'bevel]
origin: 1x1 ]
main: layout [
mypanel 150x150 [
mypanel 200x100 [
text-list data [ "One" "Two" "Three" ]
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!
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 ? :-)