ListView_SortTextItems

Started by fred_tomke · 2009-05-10 18:14 UTC · 1 replies · SMF topic #749

Hello,

before adding a bug report I want to be sure that I don't make anything wrong. I have a listview with 9 columns. All cells include data, the cells of column 2 are numeric data. After OnColumnClick that following event function will be executed. After that I only see a listview with the same number of items but all of them are empty (strings). What am I doing wrong?


(defun c:gis_sc_overlap_lst_ovl_OnColumnClick (intColumn /)
  (if (= intColumn 2)
    (dcl_ListView_SortNumericItems gis_sc_overlap_lst_ovl intColumn (vl-bb-set '***sc_overlap_ovlsort*** (not (vl-bb-ref '***sc_overlap_ovlsort***))))
    (dcl_ListView_SortTextItems gis_sc_overlap_lst_ovl intColumn (vl-bb-set '***sc_overlap_ovlsort*** (not (vl-bb-ref '***sc_overlap_ovlsort***))))
  ); if
); c:gis_sc_overlap_lst_ovl_OnColumnClick


Fred
This is now fixed in Alpha 5.