Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How create a diagram reading a Treeview in Excel (Read 1866 times)
mariofel
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Feb 11th, 2008
How create a diagram reading a Treeview in Excel
Feb 11th, 2008 at 10:26pm
Print Post  
I have a treeview in a form in excel, how create a flow in Flowchart? 

How create a box and Linking it to another box programatically?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How create a diagram reading a Treeview in Exc
Reply #1 - Feb 12th, 2008 at 6:49am
Print Post  
Creating flowchart items in VBA should look like

set b1 = fc.CreateBox(10, 10, 40, 30)
set b2 = fc.CreateBox(90, 80, 40, 30)
set link = fc.CreateArrow(b1, b2)

Older versions of Office crashed when adding FlowChartX to a VBA form, because of type library size limitations in them. To work around that, you will have to create a user control that wraps FlowchartX and implement your application logic in the user control, then add it to the form instead of the FlowChart control.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint