Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox value not visible when Listbox gets focus
Message
From
01/06/2005 10:45:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Listbox value not visible when Listbox gets focus
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01018965
Message ID:
01018965
Views:
69
I've got a listbox in a grid, it works fine, except when the control has the focus, the value is not visible.

The properties are:

For the column:
 ControlSource = "DamageInvoices.WorkshopId"  && Integer
 sparse = .f.
For the listbox:
 RowSource = "Workshops.WorkshopName,WorkshopId"
 RowSourceType = 6
 BoundTo = .t.       && seems to be the only way to set it with int values
 BoundColumn = 2     && Show name, but return Id
I've never quite figured out when to set the Bound / BoundTo properties and to which values.

TIA and BR
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Next
Reply
Map
View

Click here to load this message in the networking platform