Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving buttons
Message
From
10/11/2020 03:05:35
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
09/11/2020 16:59:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01677078
Message ID:
01677079
Views:
53
Hi Albert,

If I understand right, you like Save/Cancel/Close just where they are and move the rest? Just use a container for the scrollable part. If you realy need the buttons atop the scroll, just place then outside the container zorder in front. Or reserve a non scrollable part for the buttons and let the container dio the rest.

Try VFPX Scrollable container. https://github.com/MJindrova/ViewPort

HTH
Lutz
>Hi all,
>
>Client wanted a scrolling form for a new feature - no problem. But then they asked that my typical Save/Cancel/Close button set that is usually in the upper right move down the page even if the top part of the form contents goes off the page.
>
>I looked at the .Scrolled method but its only parameter is to tell you how they scrolled and what direction. It does not tell you how many pixels down or up they scrolled.
>
>I then found the ViewPortHeight and ViewPortTop properties. I have not played with these yet - has anyone figured out how to use these for what I am looking for - to keep a group of command buttons just below the top menu bar?
>
>Thanks.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform