473,513 Members | 2,624 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Treeview_scrollbar_help

Hi,
I am having a problem regarding use of a treeview.
The problem is whether it is possible to set a default position
to the scrollbar so that if any of the treenode contains the
text bigger than the size specified for the treeview the scroll
doesn't move to the treeview max size and display the end of the
node's content but should stay at some specified position and user
may move it later to view entire text.
I have set the scrollable property for the treeview to true.
Any help is invitable.

Nov 21 '05 #1
1 887
Hi,

Did you try treenode.ensure visible?

http://msdn.microsoft.com/library/de...sibletopic.asp

Ken
-------------------
<so*************@yahoo.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
Hi,
I am having a problem regarding use of a treeview.
The problem is whether it is possible to set a default position
to the scrollbar so that if any of the treenode contains the
text bigger than the size specified for the treeview the scroll
doesn't move to the treeview max size and display the end of the
node's content but should stay at some specified position and user
may move it later to view entire text.
I have set the scrollable property for the treeview to true.
Any help is invitable.

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.