ListView_SortTextItems

Started by Fred Tomke, May 10, 2009, 11:14:37 AM

Previous topic - Next topic

Fred Tomke

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?

Code (autolisp) Select

(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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

This is now fixed in Alpha 5.