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

[REBOL] Re: Vid / Subpanels / Dirty?

From: sanghabum:aol at: 1-Jun-2001 9:21

Hi Brett,
> Reading you post literally I think you may have the same problem I > encountered and that Scott referred to. > > Try this test in you application to check: > > 1) Start a fresh version of you application. > 2) Type something into a field but WITHOUT hitting TAB or ENTER, nor > clicking anywhere else. > 3) Close the window. > 4) Does you application correctly trap the dirty state? > > If not, here is an example of something equivalent to the solution I'm
> at present. <snip>
No it doesn't trap it. I think this is different to my original problem which was one of perception.....I'd read "Dirty?" as meaning "changed from time of 'Layout". But it means "Changed since last 'Show". I haven't delved as far as 'insert-event-func yet, but I am going to want to trap my user's clicking the close icon, or ctrl-F4'ing, so thanks for the code example. --Colin