Reading the listbox header variables will reveal the last sort, but if you have changed the selection or sorted the selection with the language, remember to set the header vars to zero.
Keith - CDI > On Aug 21, 2016, at 9:14 PM, Sannyasin Siddhanathaswami <[email protected]> > wrote: > > How do I keep the sort of a current selection listbox if I change the > selection (from a button for example)? > > I’m using 15.1 on a Mac. > > Ideally there would be some way to get then set the sort of a current > selection/Listbox? > > This is how you set the sort of a listbox: > http://livedoc.4d.com/4D-Language-Reference-15.1/List-Box/LISTBOX-SORT-COLUMNS.301-2686102.en.html > > Any ideas? > > -- > Sannyasin Siddhanathaswami > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

