Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A containers with scrollbars
Message
 
To
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:
00647404
Views:
19
>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.

Good to know, if I once should need a scrollbar! BTW: My solution with the listbar has one disadvantage: When setting the focus to the listbar it brings itself to top, even if it's on a page in a pageframe that's not the current page. I haven't spend much time for finding a solution yet, but I will have to something similar as you did. I already found out, that switching pages afterwards helps. I think I'll have to invest some time in that later on.

Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Reply
Map
View

Click here to load this message in the networking platform