use the active page prop
thisform.grid1.activepage = 1
thisform.grid1.activepage = 2
>hi there!!
>
>on my form i am having two container control and one pageframe control.
>
>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 jsut doesn't work. Access keys for all other control are working properly.
>
>please Help
>
>Sunny