Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox value not visible when Listbox gets focus
Message
 
 
À
01/06/2005 10:45:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01018965
Message ID:
01019007
Vues:
21
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform