Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A containers with scrollbars
Message
 
À
21/04/2002 20:09:13
Lu Ping
Zhuhai Tec Co.
Zhuhai, Chine
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00646691
Message ID:
00647500
Vues:
14
Please send me a copy to plinio_fermin@hotmail.com




>>>Wich activex do you use?
>>>
>>>>>Is there a way to implement containers with a scrollbar. I need to simulate something like windows xp common task bar or containers like frames.
>>>>
>>>>My favorite trick is to have a container with a scrollbar (activeX) and another container in it, where this second container is actually bigger. Scrollbar sets the .top of this inner container (to zero or negative, as needed). Works like magic.
>>
>>First I was using slider control, now it's the scrollbar control (both, I think, from Microsoft Forms 2.0). Actually, a pure VFP would be better, because the AXes remain visible in some cases - I have a series of overlapping containers, and when the container where this whole thing is somewhere deep (on a page of a pageframe within a container in a container), making that container invisible and another one visible still keeps the scrollbar visible. I had to take special care to set scrollbar.visible=.f. when hiding this container. Basically, each container has a visible_assign method where it just passes the new value to its member containers, plus the local code in the one containing the pageframe to hide the scrollbar. Also, sometimes this scrollbar won't become visible until clicked (after a resize, for example). I'd gladly replace it with something more usable.
>
> I can send U a pure scrollbar written in VFP.If u want ,give me your email.
Dominican Republic, a Paradise in America
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform