Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabled items in ComboBox
Message
 
 
À
01/03/2002 09:03:52
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00626920
Message ID:
00627327
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
I'm also using a combo with disabled items in ana pplication at work. I found that the backslash character only had to be inserted in the column to which the value property was bound, in this case column 2. This is with VFP 6 SP5.

I used the AddListItem() method to the value into column 2 of the combo. This method only takes character values, while the cursor that will store the value selected by the user is N(2). BoundTo is set to .T. Pleasantly to my surprise, I didn't have to do any special processing to use the value. VFP automatically strips out the backslash character and handles the conversion of the string to numeric. Nice way to go, VFP team.

John
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform