> Le 22 août 2016 à 04:14, Sannyasin Siddhanathaswami <[email protected]> a 
> écrit :
> 
> [...]
> Ideally there would be some way to get then set the sort of a current 
> selection/Listbox?[...]
> Any ideas?

I'd try something like this:

LISTBOX GET ARRAYS (*;"myListbox"; $arrColNames ; $arrHeaderNames ; $arrColVars 
; $arrHeaderVars ; $arrColsVisible ; $arrStyles)
for($i;1;Size of array($arrHeaderNames))
  $buttonSortValue:=OBJECT get pointer(Object named; $arrHeaderNames{$i})->
  case of
   :($buttonSortValue=1)
    //ascending 
   :($buttonSortValue=2)
    //descending 
   else
    //not sorted
  end if
end for

-- 
Arnaud de Montard




**********************************************************************
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]
**********************************************************************

Reply via email to