Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Issue with scrollbar
Message
De
20/06/2012 01:54:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01546370
Message ID:
01546419
Vues:
55
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform