Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access keys do not work with pageframe control
Message
De
15/09/2002 11:39:23
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
14/09/2002 00:29:06
Devrishi Bhogra
Escorts Claas Limited
Faridabad, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00700452
Message ID:
00700607
Vues:
20
> ... 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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform