Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple lines of Text in a TreeView
Message
De
14/05/1998 16:39:16
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
12/05/1998 17:02:11
Tom Kreinbring
Thomas Kreinbring & Associates
Temple City, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00098860
Message ID:
00099592
Vues:
25
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform