Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A containers with scrollbars
Message
 
À
21/04/2002 17:52:17
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00646691
Message ID:
00647404
Vues:
20
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform