>- how to capture MouseMove event .or. are there any tooltips? I mean,
>since it substitutes the menu, I want the message to appear on either
>tooltip or a label caption (the label's near the main form bottom, so it
>resembles the menu message). The help for TreeView.MouseMove method
>indicates lots of screen coordinates recalculation, so the node being
>currently beneath the mouse pointer is hardly predictable - it may be
>higher or lower, depending on branches above it being expanded or
>collapsed. I've even tried adding the message to the node text (hoping
>I'll get something like InfoView on M$DN distribution disks behavior),
>but no luck.
Hi Dragan,
To achieve what you want I think you'll have to use the HitTest method into the MouseMove event. It needs x and y coordinates multiplied by 15 as parameters and it returns a handle to the Node object which is over that point. Depending on the Node you can set the message you want.
>- how to move a treeview class from a temporary classlib into a new one?
>I've accidentally created it as a member of the wrong form class, so I
>simply pasted it into the proper form class definition, and got the
>incredible original path to the temp classlib hard welded in.
Have you tried to open the right VCX as a table? I usually fix this kind of problem changing the value directly into the VCX. I don't remember which is the field you'll have to look at (I'm not with Vfp now) but you can easily find it.
Good Luck,
Renato
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement