Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd problem with MS OleScrollBar
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Odd problem with MS OleScrollBar
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01249734
Message ID:
01249734
Vues:
77
I am using the scrollbars from MsComCtl.ocx in a container object and experiencing some odd behavior with them. I didn't find any threads with similar problems so I must be doing something wrong. The container needs to be removed, recreated and resized periodically. The routine that handles that sets lockscreen = .t. at the beginning and lockscreen = .f. at the end. Every other object in the container respects this setting except the scrollbars. When the form is maximized, you see the scroll bars flash on the screen as the new container is created but before they are resized to their final position. It's really annoying and spoils the look of an otherwise professional display.

Also odd is the fact that I've tried to set visible = .f. on the scrollbars until just before lockscreen = .t. That does stop the "flash" of the bars prior to resize of the container, but then the scrollbars NEVER appear. It seems that they must be visible when they are created or you'll never see them!

This is so bizarre that I'm sure I must be missing something really simple...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform