Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Between Tabs on a Pageframe
Message
From
16/04/1998 19:34:12
 
 
To
24/03/1998 19:45:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00086858
Message ID:
00092729
Views:
28
The way I dealt with this may not be as elegant as you're looking for, but... I created command button controls on the form itself - ie, not on the pageframe. There is one commandbutton control for each page... the style for these command button controls is invisible. The caption is whatever you want the "hotkey" to be... for example, if you want the hotkey to be H, make the caption for that invisible commandbutton be \
WITH ThisForm
.pgfAddress.pagHome.Refresh()
.pgfAddress.pagHome.SetFocus()
ENDWITH

It may not be the most elegant solution, but it accomplished what I was trying to accomplish.

HTH

Steph

>I have a form with a 5 tab pageframe and I want to use a hot key combo like alt+1, alt+2, alt+3, etc... to move between tabs. When I set on key to a method on the form that will do the switching, it says it can't call a method on the form.
>
>Anybody have a way around this?
>
>Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform