General information
Category:
Forms & Form designer
Title:
Odd problem with MS OleScrollBar
Environment versions
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...
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only