Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 Tip-o-the-day
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00119209
Message ID:
00119216
Views:
21
Excellent news, Josh.

Thanks!

Jim N

>Jim,
>
>Yes, you could do this with VFP 6.0. The one problem I've run into with scrollable forms is that the form doesn't automatically scroll when the user moves to a control that isn't on the visible portion of the form. I've played around with using the form's keypress event to automatically scroll the form when the user tabs to a new control and it looks like it will produce an acceptable solution.
>
>>Jim,
>>
>>All interesting information, but it doesn't answer one critical qurstion for me. . .
>>
>>Does this whole new facility now allow me to design a form which is an exact duplicate of, say an 8 1/2 x 14 page (or even a full 8 1/2 x 11, I coudl ask)???
>>
>>I had to pass on a project a while back because I couldn't do this and the user *insisted* that the screen exactly match the form.
>>
>>Cheers,
>>
>>Jim N
>>
>>>Folks,
>>>
>>>VFP6 has added a Scrollbars proprty to fomrs. You can now have vertical, horizontal, or both scrollbars in a form. There are new properties for you to use in managingthe scrollbars and the area of the form in sight. The display area of the formis called the View Port.
>>>
>>>The new properties are ViewPortTop, ViewPortLeft, ViewPortHeight, and ViewPortWidth. These properties are read only at desing and runtime. There is a method named SetViewPort that can be used to chage the ViewPortLeft and ViewPortTop properties. The other two change when you change the size of the form, or the user resizes the form.
>>>
>>>The scrollbars are smart in that they will disappear if the user resizes the form such that they are no longer necessary.
>>>
>>>Finally, there is a scrolled event that allows you to respond programmatically to the user scrolling with the scrollbars.
Previous
Reply
Map
View

Click here to load this message in the networking platform