Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Camil Ghircoias
  Where is Camil Ghircoias?
 Sibiu
 Romania
 Camil Ghircoias
 To: Nazrul Islam
  Where is Nazrul Islam?
 Dhaka
 Bangladesh
 Nazrul Islam
 Tags
Subject: RE: Scrolling A Form Using Keyboard
Thread ID: 34033 Message ID: 34117 # Views: 1 # Ratings: 0
Version: Visual FoxPro 8 Category: Forms
Date: Tuesday, December 09, 2003 3:22:25 PM         
   


> Thanks KTB for thinking on the issue. I tried but unfortunately it does not work.
>
> Nazrul
>
> > > My client wants to scroll through a long form using either down-arrow or page-down key instead of using the scroll bars. Is there any way of doing it in VFP 8? Can anybody help me!
> >
> > Just a thought - Use the KeyPress event of the form to trap for the keys, and then offset the top of form with THISFORM.SetViewPort
> >
> > KTB

You can try to simulate a mouse click at the up and down right corner where the scroll buttons are, should work if you don't have nothing better.(I tryed on preview window wich you cannot manipulate with keys)
Camil Ghircoias

ENTIRE THREAD

Scrolling A Form Using Keyboard Posted by Nazrul Islam @ 12/7/2003 8:15:47 AM
RE: Scrolling A Form Using Keyboard Posted by Ken Blum @ 12/8/2003 8:31:44 PM
RE: Scrolling A Form Using Keyboard Posted by Nazrul Islam @ 12/9/2003 5:37:53 AM
RE: Scrolling A Form Using Keyboard Posted by camil ghircoias @ 12/9/2003 3:22:25 PM
RE: Scrolling A Form Using Keyboard Posted by Yuri Rubinov @ 12/9/2003 3:58:46 PM
RE: Scrolling A Form Using Keyboard Posted by Ken Blum @ 12/9/2003 4:01:15 PM
RE: Scrolling A Form Using Keyboard Posted by Nazrul Islam @ 12/10/2003 5:20:03 AM