Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Where's a Node.Indent property?

Excel 2002 VBA TreeView node indentation is ridiculously too narrow.

Too narrow, that is, when the little "+"-icon expansion control is
present. I mean, look at it: indentation is only what, 3 or 4 pixels?

(Indentation of childless nodes where the "+" is absent is ample and
just fine.)

When you have a list of such "+"-prefixed nodes, they look more like
siblings than children of their parent.

TreeView is basically a good, semi-rich object, but a
Node.IndentAmount property seems to be a no-show.

I don't suppose there's a way to increase node indentation? Or
alternatively, hide the "+" expansion control (which rather
pervsersely, I don't need since I usu. navigate with the arrow keys)?

Thanks much.

***

P.S. Say, I just had a thought. I've never used node icons before, but
if I set every node's icon to an invisible little white space, maybe
that'll shift everyone over?

If (big if) I can learn how to do node icons, I'll report what I find.

***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Where's a Node.Indent property?

Er...heh-heh...so I looked just now for a Node.Icon property in VBA
Help and found none. What the?

Must be thinking of Object Pascal's treeview instead.

Demote my calling VBA TreeView semi-rich to one-third rich.

***
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Where's a Node.Indent property?

Aw, damn. It's the psychedelics again.

I guess Node.Image is what I'm looking for.

***
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,489
Default Where's a Node.Indent property?

Hi,

The indentation is for the whole tree rather than each node.

TreeView1.Indentation = 40

Cheers
Andy
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Jim Luedke" wrote in message
...
Excel 2002 VBA TreeView node indentation is ridiculously too narrow.

Too narrow, that is, when the little "+"-icon expansion control is
present. I mean, look at it: indentation is only what, 3 or 4 pixels?

(Indentation of childless nodes where the "+" is absent is ample and
just fine.)

When you have a list of such "+"-prefixed nodes, they look more like
siblings than children of their parent.

TreeView is basically a good, semi-rich object, but a
Node.IndentAmount property seems to be a no-show.

I don't suppose there's a way to increase node indentation? Or
alternatively, hide the "+" expansion control (which rather
pervsersely, I don't need since I usu. navigate with the arrow keys)?

Thanks much.

***

P.S. Say, I just had a thought. I've never used node icons before, but
if I set every node's icon to an invisible little white space, maybe
that'll shift everyone over?

If (big if) I can learn how to do node icons, I'll report what I find.

***


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Where's a Node.Indent property?

Andy:

A (very) belated thank you for your reply.

***
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing value of Node.Parent destroys .Bold property of entireancestry. [email protected] Excel Programming 1 May 4th 08 09:12 PM
need to create a node madhu16 Excel Discussion (Misc queries) 1 January 16th 08 12:02 PM
Reading XML node data Zarch Excel Programming 0 June 7th 07 09:41 AM
Object doesn't support this property or method (Node Function) Ronster Excel Programming 1 June 14th 06 07:35 PM
How to add a sub-node of a treeview control JohnDing[_2_] Excel Programming 1 December 20th 04 09:30 AM


All times are GMT +1. The time now is 01:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"