Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Issue with scrollbar
Message
From
20/06/2012 01:54:18
 
 
To
19/06/2012 14:58:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01546370
Message ID:
01546419
Views:
53
>I have an issue with a scrollbar on a form, that does not properly display as soon as I programmatically move the container.
>
>On the form is one container object which could be higher than the form, and then the scrollbar appears at the right of the form to move the container up or down.
>
>As soon as I change the top position of the container, sometimes the scrollbar disappears, or it does not refresh its position, so using the scrollbar it becomes impossible to move the container back to its original position.
>
>I do not change the height of the container, only the top property. I also tried THIS.DRAW() on the form without success.

Normally scrollbars will show only if they are needed (There is something to scroll towards). By changing position of objects scrollbars
might react. So little 'cheat' is to add one dymmy object (short line or a little shape in a color of background) right below bottom of the form and outside visible form boundaries. It will force scrollbar(s) to show all the time, whereas you can move your object around without any side effects.

HTH
Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform