Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Blocking TABing to a page tab
Message
De
13/05/1998 16:40:31
 
 
À
13/05/1998 16:18:11
Murray Mcintosh
Mammography Reporting System, Inc.
Seattle, Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00099118
Message ID:
00099221
Vues:
18
>>
>>Neither PageFrame, nor Page have a GotFocus() method.
>>Bob
>
>Actually you can have a gotfocus for a page object and it will solve your problem by having a WhateverControl.setfocus() in the gotfocus event. However, you have to put it in manually (use whateverform.scx) and put the code in the methods field for the pageframe object in the form using:
>
>PROCEDURE Page1.GotFocus
> WhateverControl.setfocus()
>ENDPROC
>
>then compile the form using the compile form command.
>
>The worst part of using this technique however is that the next time you save your form in the form designer your gotfocus code will be wiped out, so you would have to write a program to automate this an run it everytime you save the form using the form designer.
>
>Murray

Even with the limitations, this sounds like a nice technique. However, I don't see how doing this, or even having a built-in VFP supplied gotfocus() for either the Page or PageFrame would help in solving my problem.
Bob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform