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

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

From: brett:codeconscious at: 8-Jul-2001 13:21

Hi Geza, Sorry can't help you with panel for the moment, but...
> 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
> implemented to collect the results from the form elements in case values
> the facets were modified ?
To check for changes you could write some code that checks each of the fields using a loop or whatever. Alternatively you could set a flag whenever some data is changed in each of the fields actions blocks. Then you just check the "dirty face" flag. The trick then is to capture the case that someone has made a change in the field but it has not been flagged by the action block code. do For a description and examples. But don't take everything there as gospel... I'm still learning this stuff too. :) Brett.