Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to place a native control in front of act
Message
De
28/08/2002 11:32:38
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, États-Unis
 
 
À
27/08/2002 12:59:07
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00694109
Message ID:
00694495
Vues:
17
>I'm trying to provide a floating tooltip in a treeview. On the form there are other Activex controls too. Native VFP controls like editbox and textbox (and others) get behind activex. Is there a way to get in front of them or a tooltip property for treeview that I missed ? TIA.
>Cetin

Hi Cetin -

interesting problem.

i tried
THISFORM.ole_Tree.OBJECT.ToolTipText = "Hello" ... no such property

i tried to get native control in front with
FORMAT menu options SendToFront and SendToBack ... no good
ole_Tree.ZORDER(1) ... no good
ole_Tree.OBJECT.ZORDER(1) ... no good

i tried the same techniques to get another activex control
in front of the ole_Tree that was already on the form .... no good

one thing i did notice however was that all activex components
i subsequently added were place BEHIND any activex control already
on the form.

pretty clear you don't have access to a real tooltip, so you
would have to implement your own by detecting mouseover event
in conjunction perhaps with a time.

you might consider for example using an RTF control for your tool
tip, adjusting LEFT & TOP and visibility. i would guess you would
have to remove your treeview, put the RTF control on first, then
put the treeview back on. thus RTF should be always on top.

did not experiment to see if same holds true for native control.
patrick
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform