Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Move treeview from one .vcx to another
Message
From
08/07/1997 15:31:38
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Move treeview from one .vcx to another
Miscellaneous
Thread ID:
00038986
Message ID:
00038986
Views:
118
Yes, I've started fiddling with treeviews, too. The best replacement for the menus so far, and W95 lookalike, too. Few problems to share with the UT: - can't get rid of the white background. Can't it be anything else? - 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. - 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. I tried to "Add Class Tvw of tmp to myclasslib" and got the error message #1435: "object class is invalid for this container", and it won't move. I don't like the idea of going on forever with a thing called tmp.vcx - it looks ugly, doesn't it? Worse - I have a class definition depending on a class definition in another .vcx; well, that's dirty. I've tried even this: add class main_form of myclasslib to tmp add class main_form of tmp to myclasslib over ....and it was OK, except that classlib of the treeview class was still the tmp.vcx... ;(, and there it belongs to another form class. Any ideas, except doing it from scratch and copy/pasting properties and methods?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Next
Reply
Map
View

Click here to load this message in the networking platform