>>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.<<
Try Window_Activate. i believe it's the same thing.
Is there an easy way to get all of the checked items in a TreeView? Looking
at the documentation it seems like my only option is to search through all
the nodes testing them with ItemCheck.
Worked for me. The color of the selection changed from blue to gray, but
you still see that it is selected.
"Dave" <[EMAIL PROTECTED]>@lists.sourceforge.net on 10/26/2001 01:24:00 PM
Sent by: [EMAIL PROTECTED]
To: "'Thomas, Timothy B'" <[EMAIL PROTECTED]>
cc:(bcc: Joseph
Vieir
That didn't work for me in listview, does it work for anyone else?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Thomas, Timothy B
Sent: Friday, October 26, 2001 11:42 AM
To: 'Piske, Harald'; 'Peter Eisengrein';
perl-win32-gui-users@lists.sourceforge.ne
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'" <[EM
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
> 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
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.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent:
Joe,
Thanks , I hadnt noticed that. If you wouldn't mind, I still have one
small problem, is there another way to bring the listview back into
focus? When you click on a column header in the app, it resorts the list
view. Maybe something I could call from a Window_Activate event? I have
had a hard
Dave,
Actually it does not lose the selection in the list view, it only appears
that way. If you go to an outside application and then back to the gui
window the item is still selected but not highlighted. If you put the
focus back on the list view itself and not on the main gui window you will
I have a program with a listview, very often the user needs to use an
outside application then return to the GUI window, only everytime you
reactivate the GUI, it loses the current selection in the ListView.
Is there an easy way to avoid this and have it "remember" the current
selection when the
Inline comments
> -Original Message-
> From: SSGT Steven Swenson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 25, 2001 2:17 PM
> To: Perl-Win32-GUI-Users@lists.sourceforge.net
> Cc: [EMAIL PROTECTED]
> Subject: [perl-win32-gui-users] Problems with List Boxes
>
>
>
>
> I am tryi
12 matches
Mail list logo