>>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,
Thanks for reply. Solved by creating a 'tooltip' form and it works well.
Cetin