Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set focus to page2 of pageframe
Message
From
07/05/1998 13:56:44
 
 
To
07/05/1998 13:42:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00097768
Message ID:
00097772
Views:
20
>Hi -
>
>I've got a pageframe that has a page that contains another pageframe. The 2nd pageframe has 2 pages, no tabs. I'm trying to allow the user to go from page1 to page2 relatively easily. I have tried the following:
>
>1. Put an ON KEY LABEL PGDN, then SETFOCUS to page2. But apparently I can't do SETFOCUS unless it's within a method... hitting PGDN is not a method.
>
>2. Put a Next Button on page1, then setfocus to page2. For some reason, this just is not working. Focus stays on page1.
>
>Reason I don't want tabs is that:
>1. Screen real estate is very scarce. Tabs will take up too much room.
>2. We're automating an application form, and the page model with tabs is not as intuitive for the user as pagedown or a button at the bottom of the screen.
>
>Does anyone know why my Next button isn't working?
>
>Thanks again.
>
>Stephanie

Stephanie

Try MyPageFrame.ActivePage = 2
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform