Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A containers with scrollbars
Message
From
21/04/2002 17:52:17
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00646691
Message ID:
00647403
Views:
22
>>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform