Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which event in combo
Message
From
25/04/2000 04:04:03
 
 
To
25/04/2000 03:35:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00363025
Message ID:
00363028
Views:
17
Hi Cemal.

>>Which event is run when the user types a value that is not an item from the combobox recordsource.
Thanks <<

There are a lot of events that fire:

KeyPress
InteractiveChange

If you are trying to determine whether or not the user typed in a value not in the combo's RowSource, the best place to check is in the combo's valid with code like this:
IF This.ListIndex = 0 AND !EMPTY( This.DisplayValue )
   *** The user typed in an item not in the list
   *** Take action here to add the item to the RowSource
   This.Requery()
ENDIF
Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform