About listbox

jack1234

Registered User.
Local time
Today, 00:57
Joined
Jun 2, 2007
Messages
16
1)How to set show or not show key column for list box in propeties windows?
2)For list box, after doing
lstListBox.rowsource="select field1, field2 from tbl"
lstListBox.requery
How to
a)Set show keycolumn;
b)make the first item in the listbox selected?A
 
To set visible columns, use the ColumnWidth property.

To default it to the first item, set YourListboxName = YourListboxName.ItemData(0) in the form's OnOpen event.
 

Users who are viewing this thread

Back
Top Bottom