>>Doesn't work with this one. I thought of simulating a Mouse Click, though I know I'll have trouble with finding the proper coordinates, because this thing goes several containers deep.
>
>The scrollbar could register itself with the resizer and pass it's reference and the method to call, after a reize. The scrollbar knows about it's dimensions and could do a mouse click via WIN API on itself.
I've found an easier way out this time - since it was on a page, and did reappear after flipping pages, I've put a little trick in its resize:
DoDefault()
If This.Visible
With This.Parent.Parent.Parent
lLock=Thisform.LockScreen
nPage=.ActivePage
.ActivePage=nPage+1
.ActivePage=nPage
Thisform.LockScreen=lLock
Endwith
Endif
Luckily, none of these appear on the last page, so I didn't have to check if nPage+1 really exists.