Hi -
I'm looking for a function that will select (or de-select) and ListRow and thought that maybe mdlListRow_setStatus( ) may do this but it looks as though this function hilites the row, which is different from actually selecting it. Thanks in advance.
E
A ListModel is a data storage utility. You can use a ListModel independently of its usual display widget, the MDL ListBox.
However, the API blurs the distinction between data and presentation with functions like mdlListRow_setStatus and mdlListRow_setStatusInCells.
elliott said:It looks as though this function hilites the row, which is different from actually selecting it
You should use the ListBox API to let the user perform operations on the ListBox. mdlDialog_listBoxGetSelections and related functions are useful.
Regards, Jon Summers LA Solutions
Jon -
Many thanks (again). After I got the row count of my ListModel, I called mdlDialog_listBoxSelectCells( ) to select or de-select all of the rows.