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

[REBOL] Re: [View] dirty?

From: rotenca:telvia:it at: 10-Oct-2003 20:35

Hi Brett,
> I'm not sure you can use the dirty? flag for testing if data has changed. It > doesn't seem to behave as I would expect. For example, in Cyphre's example > without hitting the Enter key or the Tab key, enter some information into > both the fields and try the button. For me, no dirty faces are found. Only > once I hit the Enter key does the routine work.
dirty? is used internally by the standard rebol focus system. I would not use it to check if a field changed, because it is cleared by the focus system under some conditions (which could change in future). I would consider it a private flag. --- Ciao Romano