Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
It seems that whenever I issue something like...
ThisPageFrame.ActivePage = 2
...the focus goes to the object with a TabIndex of 2 even if there is an object with a TabIndex of 1. It skips the first object. Even if I issue SetFocus. This bothers me because by default if I click on a page the first object does get the focus, but if I do it through code, the second object does. Does this default behaviour bother anyone else? Or does it only happen to me? Any insights? The real question: What's the best way to make sure that the object I want always gets the focus when I set the ActivePage through code? Thanks!
Regards, Renoir
ps. I'm also bothered by the native behaviour that forces me to use NoDefault in the KeyPress of the last object in order to return focus to the first object. I would think that the second way would be the default.
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