Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox display value in a grid
Message
De
05/03/2002 11:45:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00628423
Message ID:
00628499
Vues:
19
>I'll issue the disclaimer first that there might be some default class behaviour going on with our combo box that I haven't figured out, but I'll post the general question anyway:
>
>I have a 2-column grid in a container on a form. One of the columns has this combobox control (dropdown list only). The control is designed to display multiple columns/fields (field row source) and then store the first listed field as its value (which would correspond to the underlying table field). The Valid Event in the textbox control of the other column creates a cursor that feeds the combobox's row source. The selection works fine however the actual value does not get displayed in the combo box until I tab or click off of that control. Then, the correct value is displayed. If I re-set focus to the combo box, then the value is not displayed.
>
>Could anyone point me in the right direction to get the value to display while the control has focus?
>
>Thanks!
>
>Laterness,
>Jon

Jon,
Try setting inputmask property of column as width as to match field size.ie: replicate('X',10)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform