Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.DisplayValue in ComboBox
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
.DisplayValue in ComboBox
Miscellaneous
Thread ID:
00062612
Message ID:
00062612
Views:
74
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.
Next
Reply
Map
View

Click here to load this message in the networking platform