> ... 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:
LPARAMETERS nKeyCode, nShiftAltCtrl
DO CASE
CASE nKeycode = 120
THISFORM.pgfPageFrame1.Page1.SETFOCUS()
CASE nKeycode = 121
THISFORM.pgfPageFrame1.Page2.SETFOCUS()
ENDCASE