Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I move from tab to tab on pageframe?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00230597
Message ID:
00230606
Views:
24
>Is there a property/method I can work with which will allow a user to automatically go to the next page (of a pageframe) when they exit the last field on a page?
>
>Or do I have to do a SETFOCUS to the first field I want them to go to?
>
>Thanks for any help.
>
Hi Gerry,

In the lostfocus() event of the last field on the current page, put some code like:
*-- Move to next page in pageframe 
*   Assumes that this control is on a page of the pageframe
WITH this.parent.parent && the pageframe
    IF .activepage < .pagecount
        .activepage = .activepage + 1
    ENDIF
ENDWITH

RETURN
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Reply
Map
View

Click here to load this message in the networking platform