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

[REBOL] Re: Field event "missing in action"

From: gjones05:mail:orion at: 18-May-2001 9:38

From: "Richard Smolak"
> Heya Brett ;) > > > Tab key and Enter key activate > > the alert. But clicking on the close window > > icon ie the X at the top right > > of the window does not activate the alert... > > I'm wondering how I can get it > > to fire. > > > > I know I can trap the close event using > > detect but I don't know how I can > > use this to solve the above problem. > > > > if I've understood your problem here is the solution: > > insert-event-func func [f e][if e/type = 'close [ > alert "don't touch this button!" return none] return e] > view layout [ f: field [alert "activated"] ] > > have fun, > > Cyphre
By, George, I think he's got it! So much for my fine analysis....:-( --Scott Jones