From: Guillem C. W. <vac...@es...> - 2002-03-01 09:29:45
|
Yesterday, I resolve a question with the use of MessageBox, but now I am = in similar circumstancies, and I can't use MessageBox. The question is: How is possible for a script to obtain a result that can be obtained = from the user. That is to say, the script doesn't continue until the = window return the user information For instance: Module a: (without any $window, but Win32:Dialog still running) ... ... a=3DLlibreria:moduleb:Initial(param_a,param_b) ... ... Module b: $window properties Sub initial { ... $window->Show() ... return (result) ### In fact, I can't return until the user has = entered the necessary information !!!! } sub button1_click. ... etc. Guillem Cunillera i Wefers. |
From: Johan L. <jo...@ba...> - 2002-03-01 09:56:25
|
At 10:32 2002-03-01 +0100, Guillem Cunillera Wefers wrote: >The question is: >How is possible for a script to obtain a result that can be obtained from >the user. That is to say, the script doesn't continue until the window >return the user information http://www.bahnhof.se/~johanl/perl/Win32GUI/Modalizer.pm It's not perfect, but it's a fairly decent workaround. Win32::GUI needs a real implementation of modal dialogs. /J -------- ------ ---- --- -- -- -- - - - - - Johan Lindström Sourcerer @ Boss Casinos jo...@ba... Latest bookmark: "The Ideahamster Organization" http://www.ideahamster.org/ |