>
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only