Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
ActiveControl Property
In the keypress event of the form I am trying to determine if a grid on the 2nd page of a pageframe had focus when a specific key combination was entered.
How can I do this without getting an error if no control on the 2nd page has focus? I get an error. I can't find a way to determine of .page2.activecontrol exists. I can't use isnull or check the type.
Thanks,
Paul
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