Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form
Message
De
19/06/1997 14:08:07
Ying Wang
New York State Health Dept
Albany, New York, États-Unis
 
 
À
19/06/1997 12:33:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Form
Divers
Thread ID:
00036975
Message ID:
00037009
Vues:
34
>>>>I have a PageFrame on a form with a few pages. I don't know how to use PageDown or PageUp keys to move between pages. I can only use arrow key to do so.
>>>>
>>>>
>>>>Thanks for any input.
>>>>
>>>>
>>>>Ying
>>>
>>>The basic idea is following:
>>>1. Use For.KeyPress event (with Form.KeyPreview=.T.) to intercept any key combination pressed by user.
>>>2. From this event you can fire code like
>>>This.pgFrame1.ActivePage=3
>>>to open page #3, etc.
>>
>>
>>If my curser is on page x and I press the PageDown key to go to page x+1
>>what kind of code should use?
>
>This.pgFrame1.ActivePage=This.pgFrame1.ActivePage+1
>and don't forget to check that this is not last page.


Hi Ed,
I got it! Thank you so much for your help!


Ying
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform