Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox value not visible when Listbox gets focus
Message
 
 
To
01/06/2005 10:45:03
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01018965
Message ID:
01019007
Views:
20
Take a look at How to Put a Combo Box in a Grid as Presented by Marcia G. Akins at GLGDW 2000 at http://www.tightlinecomputers.com/Downloads.htm

>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
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform