Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does the form Scrollbar property work
Message
 
To
02/05/2000 13:33:15
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00365199
Message ID:
00365210
Views:
14
>I would like to use the VFP6 form Scrollbar property to make my form scrollable. However, it doesn't work as I expected.
>
>I have a sample form with textboxes in view and textboxes below but out of view. The ScrollBar property is on and the Vertical scrollbars are visible. I can use my mouse to scroll to the textboxes that are out of view, but how can I make the form scroll when tabbing to the different objects.
>
>I'm looking for the functionality that a browser gives you when tabbing around a web page.
>
>Can this be done with a VFP6 form?
>
>Thanks,
>
>Jerryt

Jerry, use form.SetViewPort method in textbox.LostFocus(), for example:

thisform.SetViewPort(1, 250)

- scrolls the form down so it's visible top corresponds the vertical position 250.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform