>>I'm trying to use the 'page up' and 'page down' keys to move through the pages of a pageframe instead of clicking the pages tab. Any help would be greatly appreciated.....
>
>Mark
>try putting this in the KeyPress of the form
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>
>
>nCount =thisform.pgfMain.pagecount
>
>do case
> case nkeycode =18 && up
> if thisform.pgfMain.activepage =nCount
> thisform.pgfMain.activepage = 1
> else
> thisform.pgfMain.activepage = thisform.pgfMain.activepage +1)
> endif
> case nkeycode =3
> if thisform.pgfMain.activepage =1
> thisform.pgfMain.activepage = nCount
> else
> thisform.pgfMain.activepage = (thisform.pgfMain.activepage -1)
> endif
>endcase
>
>this.refresh()
That works like a champ!! Thanks a million!!!!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only