That's it! thanks. Chip
-----Original Message----- From: Aaron Smith [mailto:aa...@gwmicro.com] Sent: Friday, January 08, 2010 8:40 PM To: gw-scripting@gwmicro.com Subject: Re: Sorting Listviews Perhaps I have my list views and list boxes mixed up. Aaron On 1/8/2010 8:37 PM, Chip Orange wrote: > Hi Aaron, > > fyi, I'm in the xml part of the scripting help manual, in the listview > element, and this option doesn't seem to be there. > > Chip > > > -----Original Message----- > From: Aaron Smith [mailto:aa...@gwmicro.com] > Sent: Friday, January 08, 2010 8:33 PM > To: gw-scripting@gwmicro.com > Subject: Re: Sorting Listviews > > There's no built in, programmatic way to sort a list view. You can, > however, set the sort="yes" option in the list view's element in the > XML (check the addremove.xml for an example). If you do that, the > contents of a list view will be sorted automatically when the list > view gets rendered. If you want to sort the contents on the fly, > you'll need to create your own routine to handle that. > > Aaron > > On 1/8/2010 7:58 PM, J.J. Meddaugh wrote: >> I see a property which >> will show me the current sort for a listview, but there seems to be >> no way to set our own sort for one in a dialog. >> Am I missing something? >> I could do it manually, but this seems like a longwinded approach. >> J.J. Meddaugh - ATGuys.com >> A premier Licensed Code Factory and KNFB Reader distributor > > -- > To insure that you receive proper support, please include all past > correspondence (where applicable), and any relevant information > pertinent to your situation when submitting a problem report to the GW > Micro Technical Support Team. > > Aaron Smith > GW Micro > Phone: 260/489-3671 > Fax: 260/489-2608 > WWW: http://www.gwmicro.com > FTP: ftp://ftp.gwmicro.com > Technical Support& Web Development > -- To insure that you receive proper support, please include all past correspondence (where applicable), and any relevant information pertinent to your situation when submitting a problem report to the GW Micro Technical Support Team. Aaron Smith GW Micro Phone: 260/489-3671 Fax: 260/489-2608 WWW: http://www.gwmicro.com FTP: ftp://ftp.gwmicro.com Technical Support & Web Development