Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframe help
Message
De
10/12/1997 18:43:56
 
 
À
10/12/1997 17:03:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00065139
Message ID:
00065152
Vues:
31
>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()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform