Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.DisplayValue in ComboBox
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
.DisplayValue in ComboBox
Divers
Thread ID:
00062612
Message ID:
00062612
Vues:
69
I have a ComboBox that allows new values. In its .Valid method I have:

IF THIS.ListIndex=0 AND ALLTRIM(THIS.DisplayValue)#""
&& Ask if new choice should be added
&& If No Then
&& THIS.DisplayValue=""
&& THIS.Value=""
&& RETURN .F.

The textbox area looks empty but .DisplayValue is not equal to "". It is equal to "|" (The bar looks thicker though). Why is there a value in .DisplayValue and what is it?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform