Let me try the attachment again...
<<listbox-sort-example.gpl>>
----------------------------------------------------------------------------
---------------------
Tim Thomas
Unix Systems Administrator
Lockheed Martin EIS · Denver Data Center
303-430-2281 · Pager 303-266-7971
mailto:[EMAIL PROTECTED]
Pager: mailto:[EMAIL PROTECTED]
----------------------------------------------------------------------------
---------------------
> -----Original Message-----
> From: Thomas, Timothy B [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, October 28, 1999 11:30 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [perl-win32-gui] ListBox->Change?
>
> Attached is the example Listbox program, modified with a sort check box
> and
> a refresh box which removes all the items. You can see that, as is, the
> list
> is unsorted and the refresh box does no good, but if you go into the code
> and on the List1 object, change the -sort option to 1, when the listbox is
> populated, it is sorted, but when the -sort option is initially 0 and you
> change that to 1 with the checkbox, it does not sort.
> Any ideas?
>
> Tim.
>
> --------------------------------------------------------------------------
> --
> ---------------------
> Tim Thomas
> Unix Systems Administrator
> Lockheed Martin EIS · Denver Data Center
> 303-430-2281 · Pager 303-266-7971
> mailto:[EMAIL PROTECTED]
> Pager: mailto:[EMAIL PROTECTED]
> --------------------------------------------------------------------------
> --
> ---------------------
>
> > -----Original Message-----
> > From: Eric C. Hansen [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, October 28, 1999 7:51 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [perl-win32-gui] ListBox->Change?
> >
> > Timothy, try making a test application with a Listbox and then try
> > changing
> > a property. Let us know what happens.
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Thomas, Timothy B
> > Sent: Wednesday, October 27, 1999 6:28 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: [perl-win32-gui] ListBox->Change?
> >
> >
> > Does anyone know if you can use the Change method to change the
> properties
> > on a ListBox object, such as the sort option. The line of code below
> seems
> > to work with TreeViews, but I don't think it works with ListBoxes. Any
> > ideas?
> >
> > $ListBox->Change(-sort=>$Menu->{Sort}->Checked);
> >
> >
> >
> --------------------------------------------------------------------------
> > --
> > ---------------------
> > Tim Thomas
> > Unix Systems Administrator
> > Lockheed Martin EIS · Denver Data Center
> > 303-430-2281 · Pager 303-266-7971
> > mailto:[EMAIL PROTECTED]
> > Pager: mailto:[EMAIL PROTECTED]
> >
> --------------------------------------------------------------------------
> > --
> > ---------------------
> >
> >
> >
listbox-sort-example.gpl