Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scroll Bar Control
Message
 
To
30/05/2001 07:26:10
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00512576
Message ID:
00512805
Views:
16
>Hi all,
>
>I have created a lota objects and put them all in a form, when the form is not large enough to display them, a scroll bar will appear.
>
>But I also have some buttons on the form to control the data, I want them to be always visible.
>
>Is it possible to set the 80% upper part of the form to display objects and have scroll bar, and the 20% lower part to show the buttons, and do NOT affected by the scroll bar?
>
>I have tried to put the objects in a container, and put the container in the form.. but container does not support scroll bar :-(


Haha, I come from VFP5, and guess what ? no Scrollbars there, so you have to make them yourself. So we did (few hours).
This combined with a few containers on the form and you can perfectly divide the form in a scrollable - and non-scollable part. Looks very fresh by the way. Can also be very well used to give the form a header which contains info which is always there, even when scrolling (vertically). There are many more benefits.
Please note that when you really do this (may take you a week getting your hairs out due to the refresh-methods reacting to eachother), you also have to fuzz around with Pageframes not anticipating on this kinda stuff. This too can rather easy be accomplished. However ...

Did you think of having the buttons on a toolbar ?
Once you start on this one, anticipate on having the toolbar docked (if docked) at the right side of the screen; all other positions imply unsolvable (?) anomalies in VFP, not anticipating on many changes of the toolbar (flickering). Even at the right side, it 'll take you a week only to get the flickering away, but I'll help you once you decide for this solution.

By the way, we use both solutions at a time; gives a hell of free space.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform