Subject | Re: ListBox does not show data (2nd post) |
---|---|
Author | mircostange |
Post date | 2002-03-12T09:38:48Z |
Are you referring to IB_LookupList1 or IB_ListBox1?
The TIB_ListBox is not supposed to show the records from
the dataset. Instead, its supposed to show a list of
valid values for the assigned field to choose from.
TIB_LookupList would be the one to show all records from
a list. You should check the GSG from Helen for a good
example on lookups (it uses the combobox, but listbox
is basically the same).
Another hint: I usually prefer the grid control instead.
You can disable grid lines and force displaying only
one (or a few fields) with the gridLinks property.
Regards
Mirco
The TIB_ListBox is not supposed to show the records from
the dataset. Instead, its supposed to show a list of
valid values for the assigned field to choose from.
TIB_LookupList would be the one to show all records from
a list. You should check the GSG from Helen for a good
example on lookups (it uses the combobox, but listbox
is basically the same).
Another hint: I usually prefer the grid control instead.
You can disable grid lines and force displaying only
one (or a few fields) with the gridLinks property.
Regards
Mirco