Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox On Select method
Message
 
 
À
05/05/2017 11:28:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01650871
Message ID:
01650875
Vues:
31
>>>>Hi,
>>>>
>>>>Which method of combobox fires when a user selects an item from the drop-down list? I need to set up some other controls based on the user selection. And I know that I should know this but simply forgot.
>>>>TIA
>>>>
>>>>Update: I believe it is Valid() method. Somehow I didn't see this method when I was looking at the property sheet.
>>>
>>>InteractiveChange should also work.
>>
>>Wouldn't the InteractiveChange fire every time user changes the item in the drop-down? It may (if I understand correctly) fire "my changes" too many times. Whereas the Valid() only fires once. Am I correct?
>
>That will depend on your application. Sometimes people want to see the changes while scrolling, sometimes not. If for instance you have one combo for State and one for Cities, people may get confused if they see Miami while the state combo momentarily shows Texas. Personally I have a timer running while people scroll. During scrolling the other elements are shown as disabled, once they stop scrolling for a short while the screen is updated.

I see what you are saying. Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform