Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Odd problem with MS OleScrollBar
Versions des environnements
Network:
Windows 2003 Server
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement