Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know if a control allows entry
Message
De
05/01/2009 14:47:25
 
 
À
05/01/2009 14:27:21
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01371118
Message ID:
01371140
Vues:
16
>>>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...
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform