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

[REBOL] Re: inform crashes?

From: rotenca:telvia:it at: 1-Oct-2001 2:14

From: "Maxim Olivier-Adlhoch" <[max--ordigraphe--com]> Sent: Friday, July 13, 2001 5:50 PM Subject: [REBOL] inform crashes?
> Has anyone noticed that the inform tool systematically trashes the view > into feeblemin state? > > once I close the inform window, only a 250x150 region of my display > becomes active under view... anything outside this region is DEAD...
With some delay... I had your same problem, i have found a solution (i do not know if was already on this mailing list). The code not tested in this exact form - it is only to understand the logic. 1) make a feel of this type for the main window face, before calling inform: oldfeel: make main/feel [] main/feel: make main/feel [ detect: func [face event] [either face = main [none][event]] ] ;block all event for main window 2) close your button-inform action with hide-popup ;undocumented (sic) es. button "ok" [ a: 1 hide-popup] 3) after the Inform returns, restore the old feel of the main window to restore main event handling. If you want to block others windows you should make others feel/detect for that windows --- Ciao Romano