Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Blocking TABing to a page tab
Message
De
13/05/1998 14:45:29
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00099118
Message ID:
00099156
Vues:
21
>>When I am TABing through the controls on a page of a PageFrame, eventually the focus goes back to the page tab at the top. I understand that this allows the user to move to other page tabs from there with the arrow keys. In my case, I have created other hot-keys to move from page to page, and I don't want the page tab to get focus.
>>
>>I'm looking for something similar to the TabStop property that most controls have so I can set it to .f. for each tab on the pages of my PageFrame. Page doesn't seem to have such a property. PageFrame does, but it doesn't do what I'm trying to accomplish.
>>
>>Bob
>
>In the Page.GotFocus(), you could add code to set focus to the first applicable object on that page.

I've got that one covered (actually its in the pages activate event) and that solved most of my problem. My page is a search form and has only 3 or 4 TextBoxes and a grid. The grid changes tab order and repositions the highlighted row based on entry from the TextBoxes. My users work in a keyboard environment (no mouse) and if doing several lookups, will move from TextBox to TextBox using the TAB key and cycling around (finding Shift-TAB is too much of a bother). When the focus gets to the page tab, to them it seems to have dissappeared and requires hitting TAB one more time. This is the behavior that I want to get rid of.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform