Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change focus order on form?
Message
De
04/12/2003 18:08:37
 
 
À
25/11/2003 00:43:57
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00853156
Message ID:
00856112
Vues:
17
>>>Change the Tab Order.
>>
>>That doesn't do it. I've already got the tab order the way I want it. The first box in the tab order is not the control the gets focus when the form activates.
>>
>>Unless I'm seeing things...
>
>I think you're seeing one of the VFE's tricks. It's trying to find (at least in V6 and later, but I think it's been that way before) any control where TabOrder=1. Now if you've played with the tab order so that none of your controls has TabOrder=1, it may find such one in some of the containers.
>
>I know I was fighting that one for a while, and spent a happy hour in the debugger until I found that. Don't know if it applies to your case, though.

I'm sure you are right. VFE has code which effects focus. When I create a simple form I got the expected behavior that focus goes to the control with the lowest TabIndex. (See above.)

I'm "cleaning up" some of the routes that my forms take through my modified VFE code.

Peter
Peter Robinson ** Rodes Design ** Virginia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform