Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>>If I'm looping through all the controls on a form, is there something I can check to see if it is a "valid" control, in that it can accept entry from the user? I do not want labels, containers, images, etc. I only want things like textboxes, checkboxes, combos, etc. Do they all have some property/method that I can check for?
>>>
>>>Value.
>>>ControlSource.
>>
>>Damn. Almost. It could include buttons and stuff like that too. Maybe there is no common property/method for the controls I want, but not the others.
>
>GotFocus? Except you could filter out containers if you don't want to include those...
What about Enabled?
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