>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement