Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Boxes(again)
Message
De
12/01/2000 06:48:10
 
 
À
12/01/2000 06:21:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00316790
Message ID:
00316799
Vues:
20
If the combobox style is set to 0 - dropdown combo you can put the following in the InteractiveChange() event to trim the selected item:

This.DisplayValue = alltrim(This.Text)

However, this will not work when the style is set to 2 - Dropdown list.

One solution would be to create 2 columns, one with the textbox display value, the other with the indented version (or vice versa):

BoundColumn = 1 && Whatever column holds textbox display value.
ColumnCount = 2
ColumnLines = .F.
ColumnWidths = 0,100
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform