Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe help
Message
From
11/12/1997 12:46:16
 
 
To
10/12/1997 18:43:56
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00065139
Message ID:
00065322
Views:
41
>>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
Map
View

Click here to load this message in the networking platform