Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access keys do not work with pageframe control
Message
From
15/09/2002 11:39:23
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
14/09/2002 00:29:06
Devrishi Bhogra
Escorts Claas Limited
Faridabad, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00700452
Message ID:
00700607
Views:
19
> ... pageframe is having two pages with Atl+d, and Alt + M as their access keys repectively. ... But when I try to access these pages using these access keys it just doesn't work.

Sunny,

According to Help, HotKeys for a Page in a PageFrame only work when the PageFrame already has the focus.

You can trap for the HotKeys with code like this in the KeyPress of the Form:
*!* Form1.KeyPress()
LPARAMETERS nKeyCode, nShiftAltCtrl
DO CASE
	CASE nKeycode = 120
		THISFORM.pgfPageFrame1.Page1.SETFOCUS()
	CASE nKeycode = 121
		THISFORM.pgfPageFrame1.Page2.SETFOCUS()
ENDCASE
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform