|
-
Apr 26th, 2002, 05:40 AM
#1
Thread Starter
Hyperactive Member
Tree View indent
Can you change the amount of indent between node levels in a tree view.
-
Apr 26th, 2002, 05:50 AM
#2
Bouncy Member
only way i can think of is adding it as another child (child of a child)
-
Apr 26th, 2002, 05:50 AM
#3
PowerPoster
the .Indentation property?
-----------------------------------------
-RJ
[email protected]
-----------------------------------------
-
Apr 26th, 2002, 05:52 AM
#4
Thread Starter
Hyperactive Member
Originally posted by rjlohan
the .Indentation property?
Great! I hadn't noticed that!
-
Apr 26th, 2002, 05:52 AM
#5
Bouncy Member
that works accross the board though, or is that what you're after??
i assumed you meant different amounts of indent for each node etc
-
Apr 26th, 2002, 05:57 AM
#6
Thread Starter
Hyperactive Member
Originally posted by darre1
that works accross the board though, or is that what you're after??
i assumed you meant different amounts of indent for each node etc
Yes, the first level text is all long, but the third level is short, so I want to use different indents.
-
Apr 26th, 2002, 06:00 AM
#7
Bouncy Member
this might sound like a dumb idea but what about padding them with spaces i.e. " node caption"
-
Apr 26th, 2002, 06:06 AM
#8
PowerPoster
Well, without API, it's probably not possible. You may need to create your own TreeView with the appropriate windows messages. Is it really worth the trouble?
-----------------------------------------
-RJ
[email protected]
-----------------------------------------
-
Apr 26th, 2002, 06:07 AM
#9
Thread Starter
Hyperactive Member
Originally posted by darre1
this might sound like a dumb idea but what about padding them with spaces i.e. " node caption"
I want to make them as small as possible.
So padding defeats the main objective.
I'm just bloody awkward.
-
Apr 26th, 2002, 06:11 AM
#10
Bouncy Member
well you could set the Indentation to 0
then all 1st level children are padded with a space
2nd level childre are padded with 2 spaces etc.
sounds crappy i know but it sounds easy too
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|