I don't think sub Window_GotFocus even works. I tried using it once and it didn't work no matter what I tried, it wasn't important so I gave up.
"Thomas, Timothy B" <[EMAIL PROTECTED]>@lists.sourceforge.net on 10/26/2001 11:41:45 AM Sent by: [EMAIL PROTECTED] To: "'Piske, Harald'" <[EMAIL PROTECTED]>, "'Peter Eisengrein'" <[EMAIL PROTECTED]>, perl-win32-gui-users@lists.sourceforge.net cc: (bcc: Joseph Vieira/DMR/CA) Subject: RE: [perl-win32-gui-users] ListView loses selection There is an option for list view that does this for you: -showselalways=>1 -----Original Message----- From: Piske, Harald [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2001 9:30 AM To: 'Peter Eisengrein'; perl-win32-gui-users@lists.sourceforge.net Subject: RE: [perl-win32-gui-users] ListView loses selection > Why then, I wonder, does it not show the selection if you do a > $Window->ListBox->SetFocus() or even > $Window->ListBox->SelectedItem->SetFocus() ? I tried both > with a sub of > Window_GotFocus and Window_Restore. Just a thought, I did not try: if you change the selection to what it already is or even actually change it and then change it back, will it show? _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users _______________________________________________ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users