Eric C. Hansen wrote: > Aldo, can the -sort property be enhanced in a future Win32::GUI release to > continually keep the listbox items sorted as some items are removed and then > added back? How does Visual Basic do this, or does it do this? sorry, the functionality is there, I just missed to specify how it works. for an item to be automatically added in correct sort order, you must use the Add() or AddString() method. if you use InsertItem() instead, the string is appended at the end of the list and no sort is done. the docs will be corrected, thanks for pointing it out! cheers, Aldo __END__ # Aldo Calpini %_ = split undef, join ' ', qw(fahokem xritajbugne csuctawer jhdtlrnpqloevkshpr ); print map $_{$_}, sort keys %_;
- Re: [perl-win32-gui] Install from Zip file... Joey Frasier
- [perl-win32-gui] GUI OBJECT VISUAL DE... Eric C. Hansen
- Re: [perl-win32-gui] GUI OBJECT V... Aldo \"dada\" Calpini
- [perl-win32-gui] LAG TIME NOT... Eric C. Hansen
- [perl-win32-gui] How can ... Eric C. Hansen
- Re: [perl-win32-gui]... Aldo \"dada\" Calpini
- [perl-win32-gui]... Eric C. Hansen
- [perl-win32-gui] GUI Builder - Couple Ques... David Hiltz
- [perl-win32-gui] Request for SetTextAlign David Hiltz
- [perl-win32-gui] Request for Continou... Eric C. Hansen
- [perl-win32-gui] Continous Sortin... Aldo \"dada\" Calpini
- [perl-win32-gui] Continous So... Eric C. Hansen
- Re: [perl-win32-gui] Cont... Aldo \"dada\" Calpini
- [perl-win32-gui] Found BUG in... Eric C. Hansen
- Re: [perl-win32-gui] Foun... Aldo \"dada\" Calpini
- RE: [perl-win32-gui]... Eric C. Hansen
- Re: [perl-win32-gui]... Jenda Krynicky
- Re: [perl-win32-... Aldo \"dada\" Calpini
- Re: [perl-win32-gui] Request for SetT... Aldo \"dada\" Calpini
- Re: [perl-win32-gui] Request for ... David Hiltz