Windows 2k sp 2
ActiveState Perl build 618

use Win32::GUI



The buttons and radiobuttons work fine in the GUI::DialogBox object.

The Click() event works fine.

The LostFocus() event doesn't respond at all when a mouse click happens on
another object (button, textfield, etc.)

Also, the LostFocus() event for the button doesn't respond at all when the
focus is changed using the Tab key.


Does anyone know if it is supposed to work?


I am successfully using the LostFocus() event in a TextField object, and am
using the exact same approach with the Button objects, but to no avail.

If it does work for someone, I'll have to scrutinize my script for errors.
I have checked that the -name option matches the sub declaration
name_LostFocus {}, so I don't believe that is it.

I might be forced to put code snippets up here if I still cannot resolve it.


Any comments, suggestions, or pointers will be greatly appreciated.

Thank-you,

Bryan O'Malley






Reply via email to