Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
English
Item selected in combobox
Message
From
23/03/2000 08:28:02
 
 
To
23/03/2000 07:50:29
General information
Fórum:
Visual FoxPro
Category:
Formulários & Criador de Formulários
Miscellaneous
ID da thread:
00349294
ID da mensagem:
00349317
Views:
27
Hi Christian.

>> I use a combobox where the user can enter a value or select from a list of values in the list.
I want to trigger a method when the user selected an item from the list, but I cannot use the InteractiveChange even for this, because this would also trigger when the user enters a value into the combobox.
So far I could not find an even for this, how should I do this? <<

You mean you want to trigger the event only when the user has not typed in a new value? You can do this in the valid:
IF This.ListIndex = 0 AND !EMPTY( This.DisplayValue )
   *** The user type in a new item that is not in the list
ELSE
   *** Trigger your method here
ENDIF
Marcia
Previous
Next
Responder
Mapa
View

Click here to load this message in the networking platform