>> ... 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
>
Sorry Cindy, but the helptext claims:
The KeyPress event does not occur for any combination of keys with the ALT key.The solution that I propose is the creation of a menu-bar with a menu-pad for each tab of the pageframe. Each bar is then given a hotkey that corresponds to the hotkey of the tab and will invoke a command like _fvp.activeform.PageFrame1.Page1.SETFOCUS().
Groet,
Peter de Valença
Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.