Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Differentiate - Combo Text Portion Click & Click from li
Message
From
04/05/2005 09:43:59
 
 
To
04/05/2005 07:18:00
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01010708
Message ID:
01010746
Views:
32
I would like to be able to differentiate between them.

If you are interesting in knowing for sure when the user selected something from the list, use the Valid() method. If this combi is style=2-dropdown list, the valid only fires when the user selects something from the list. If the style is 0-dropdown combo, then it will also fire when the user merely tabs through the control. In this case, you can put this line of code in the GotFocus() of the combo:
This.tag = TRANSFORM( This.Value )
and then you can check to see if the user actually selected something new from the list in the Valid like this:
IF NOT ( This.Tag == TRANSFORM( This.Value ) )
  *** User selected something new from the list
ENDIF
Previous
Reply
Map
View

Click here to load this message in the networking platform