Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forcing Combo To Fire Valid When Losing Focus
Message
 
À
20/09/2000 18:13:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00418762
Message ID:
00418791
Vues:
23
>>After programming with VFP since 1995, I have finaly decided to solve the problem of a combo box not firing the valid event when it loses focus. I have tested the following and it appears to work fine. Before I add this to my combo baseclass anyone have any comments?
>>
>
>The only time this behavior should occur is with combo.Style = 2 - since this should mean that all list entries are valid input values, and therefore the Valid() is unnecessary.
>IMNSHO, what should occur for the dropdown list types of comboboxes is that the list should be limited to only valid entries before it receives focus.

One invalid state can exist, with a dropdown list. You have just added a blank record to a table and you require a value to be filled it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform