Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple lines of Text in a TreeView
Message
From
14/05/1998 16:39:16
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
12/05/1998 17:02:11
Tom Kreinbring
Thomas Kreinbring & Associates
Temple City, California, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00098860
Message ID:
00099592
Views:
24
>Is it possible to display multiple lines of text within a TreeView? If so, how do you do it? I tried just inserting Chr(13)'s where I wanted my text to break to the next line and just got boxes on my screen.

I've actually wanted to have tooltips on my TVw, so since I couldn't find any, I've added a label to the form just below the TVw, and from its MouseMove event I've checked the HitTest, and filled the label's content according to the selected node. Next step should probably be some ToolTip emulation (like moving this label to the mouse position, showing it, firing a timer and hiding it after a while), but I don't think it's worth the trouble. In your case, this label can be an editbox or a multi-line label (do these exist?) and contain whatever you need. I know it's not actually a multiline node, but then having one would beat the purpose of a TV - it has one line per node, by definition.

back to same old

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

Click here to load this message in the networking platform