________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'People who live in windowed environments shouldn't cast pointers.'
Or, just use a DataGrid/FlexGrid, and a fabricated(created on-the-fly data), or connected, recordset - multi-columns, column headers, searchung, sorting, selecting wlements with ease....
Just set these properties:
datagrid1.RecordSelectors=False
datagrid1.BorderStyle=dbgNoBorder
datagrid1.HeadLines=0
Now, you can add the data via Recordset, as mentioned, from a DB data source(as you would with a bound list box) or fields and records created at run time (thread222-626165)
Give it a try...you'll be surprised.
All record seletion, manipulation, navigation, sorting, searching, etc. is done with the recordset.
The only other real advantage the list box would have is the checkbox, which, with a little bit of work, can be done with a HFlexGrid.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.