Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Scrollbar on TreeViewNode (Read 11164 times)
madhan1
Full Member
***
Offline


FOLLOW NO ONE BUT LEARN
FROM EVERY ONE ..

Posts: 101
Location: India
Joined: Feb 17th, 2010
Re: Scrollbar on TreeViewNode
Reply #15 - Feb 17th, 2010 at 11:03am
Print Post  
But Stoyan still i din't get the Horizontal scroll bar.... ???
  

if you want something then go and grab it
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Scrollbar on TreeViewNode
Reply #16 - Feb 17th, 2010 at 11:07am
Print Post  
Handle the TreeExpanded event and call diagram.ResizeToFitItems from the handler.
  
Back to top
 
IP Logged
 
madhan1
Full Member
***
Offline


FOLLOW NO ONE BUT LEARN
FROM EVERY ONE ..

Posts: 101
Location: India
Joined: Feb 17th, 2010
Re: Scrollbar on TreeViewNode
Reply #17 - Feb 17th, 2010 at 11:24am
Print Post  
Quote:
private void diagram_TreeExpanded(object sender, NodeEventArgs e)
{
rearrange();
           diagram.ResizeToFitItems(8,true);
}


but still i didn't get the scroll bar Sad
  

if you want something then go and grab it
Back to top
 
IP Logged
 
madhan1
Full Member
***
Offline


FOLLOW NO ONE BUT LEARN
FROM EVERY ONE ..

Posts: 101
Location: India
Joined: Feb 17th, 2010
Re: Scrollbar on TreeViewNode
Reply #18 - Feb 17th, 2010 at 11:36am
Print Post  


like this only i am geting...
  

if you want something then go and grab it
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Scrollbar on TreeViewNode
Reply #19 - Feb 17th, 2010 at 12:44pm
Print Post  
Are you sure DiagramView.ShowScrollbars is enabled?
  
Back to top
 
IP Logged
 
madhan1
Full Member
***
Offline


FOLLOW NO ONE BUT LEARN
FROM EVERY ONE ..

Posts: 101
Location: India
Joined: Feb 17th, 2010
Re: Scrollbar on TreeViewNode
Reply #20 - Feb 18th, 2010 at 3:49am
Print Post  
yes. i have enabled. the scroll bar is showing but i cann't see the full tree.... as i send the image before.......
  

if you want something then go and grab it
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Scrollbar on TreeViewNode
Reply #21 - Feb 18th, 2010 at 8:23am
Print Post  
Do you mean you want the full tree to be visible at once without having to scroll it? Try the ZoomToFit method in such case. Otherwise please email to support@mindfusion.eu a sample project that shows your problem.

Stoyan
  
Back to top
 
IP Logged
 
madhan1
Full Member
***
Offline


FOLLOW NO ONE BUT LEARN
FROM EVERY ONE ..

Posts: 101
Location: India
Joined: Feb 17th, 2010
Re: Scrollbar on TreeViewNode
Reply #22 - Feb 19th, 2010 at 10:19am
Print Post  
Thanks Stoyan.
  

if you want something then go and grab it
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint