From: Octavian R. <ora...@gm...> - 2006-10-04 11:20:52
|
Hi, I have create a program using Win32::GUI and perlapp. I have made the main window a "dialog" window for making it usable with a keyboard, so if I press the escape key, the program closes. Well, this is pretty ok, but the problem is that perl interpreter doesn't always close, and after closing the program that way, I can see the program running in the Task Manager (in the processes list). Is there a way of avoiding this? The program doesn't always stay resident. Very many times, it closes when pressing the escape button, but sometimes it doesn't. Thank you. Teddy |
From: Robert M. <rm...@po...> - 2006-10-04 18:57:26
|
Octavian Rasnita wrote: > I have made the main window a "dialog" window for making it usable with a > keyboard, so if I press the escape key, the program closes. > > Well, this is pretty ok, but the problem is that perl interpreter doesn't > always close, and after closing the program that way, I can see the program > running in the Task Manager (in the processes list). > > Is there a way of avoiding this? > > The program doesn't always stay resident. Very many times, it closes when > pressing the escape button, but sometimes it doesn't. Do you have a multi-line edit control (Win32::GUI::Textfield) in the dialog? Does this symptom only occur when the textfield has focus? If so it's a known bug - I can generate a work around, let me know. Regards, Rob. |
From: Octavian R. <ora...@gm...> - 2006-10-04 19:16:56
|
From: "Robert May" <rm...@po...> > Do you have a multi-line edit control (Win32::GUI::Textfield) in the > dialog? Does this symptom only occur when the textfield has focus? > > If so it's a known bug - I can generate a work around, let me know. Hmm, strange! I was almost sure that this issue happends randomly, no matter if that multiline control has the focus or not. (The program do has a multiline readonly textfield) But I have tested for a few times, and I see that this error appears only when that control has the focus. Please tell me how to solve it. Thank you very much. Teddy |