Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TabStop on Page (PageFrame)
Message
De
19/10/2001 12:21:24
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00570501
Message ID:
00570949
Vues:
28
Hey Rodolfo,

Well, that is almost true about copying to each object. You will need to either copy it to the last relevant object in the order for each page or you could create a class for each type of object (LastTextbox, LastCheckbox, etc) and use those on your forms. Actually, I never worry too much about the tabbing and focus issues until near the end of the development which reduces the hassle of adding the code for the relevant objects.

I'm doing well... Thanks for asking!

Renoir


>Hi Renoir,
>
>How are you doing? :) So... I think it works but I have to copy this code to each object... And I have to do the same thing with the cursor keys...
>
>Thank you!
>
>Rodolfo Duarte
>Ribeirão Preto - SP - Brazil
>
>>>>>I'd like to set TabStop = .F. on Pages at PageFrame... But this object (Page) doesn't have TabStop property.
>>>>>The PageFrame has this property, but if I put .F. there, all of objects inside the PageFrame will set .F. too.
>>>>>I'd like to acess the TABS just with the mouse and not with the keyboard...
>>
>>Rodulfo,
>>
>>This is an example of code I have in the KeyPress method of the last object on a page. It will send focus to the first object rather than a button or the tab of the page.
>>
>>
>>LPARAMETERS nKeyCode, nShiftAltCtrl
>>
>>If nKeyCode = 9 && Tab Key
>>	NoDefault
>>	This.Parent.MyFirstTextBox.SetFocus
>>EndIf
>>
>>
>>Renoir
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform