Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Moving on to the next object
I'm building a class which is a container of other objects. I capture the keystrokes ('cause I want to do specific things). When the user hits the TAB key, I want to move on to the next object on the form (one that can actually receive focus). How the heck do I do that? I tried .Parent.Objects(This.TabIndex+1).SetFocus, but if the next object is something like a shape that doesn't have a SetFocus event, I get an error.
I just know that this is going to be a simple answer, and you all will think me a complete moron, but please be gentle!
Thanks
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