>>
>>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
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