Looking for shape w/macros like the MS-provided Gantt chart 
Author Message
 Looking for shape w/macros like the MS-provided Gantt chart

I am trying to develop a simple, in-house utility. To do it properly, I need
a shape that behaves similarly to the MS-provided Gantt chart shape.
Basically, the shape is a rectangle with a number of smaller rectangles in
it. When you grow the shape vertically, more of the smaller rectangles are
added. When you shrink it vertically, some of the smaller rectangles are
removed.

I have figured out how to catch the various events so I can resize the outer
box properly. However, with a grouped object, the smaller rectangles move
about in the larger one, thus each one would need to be moved after each
sizing operation. This seems harder than necessary.

What would be tremendously helpful would be a shape with an associated macro
that some one could provide me to use as a basis for my application. Any
ideas and/or comments to point me in the right direction would also be very
helpful.

Thank you.

--
Gerry Roston



Fri, 10 Oct 2003 12:38:28 GMT  
 Looking for shape w/macros like the MS-provided Gantt chart
This capability is obtained using the shapesheet. Each rectangle is created
as a separate geometry section and the visibility cell of each geometry
section is set to be dependant on the Height (or width) of the shape.

John...    Visio MVP

Need stencils or ideas?
http://www.magma.ca/~lancucki/Visio3rdparty.htm



Quote:
> I am trying to develop a simple, in-house utility. To do it properly, I
need
> a shape that behaves similarly to the MS-provided Gantt chart shape.
> Basically, the shape is a rectangle with a number of smaller rectangles in
> it. When you grow the shape vertically, more of the smaller rectangles are
> added. When you shrink it vertically, some of the smaller rectangles are
> removed.

> I have figured out how to catch the various events so I can resize the
outer
> box properly. However, with a grouped object, the smaller rectangles move
> about in the larger one, thus each one would need to be moved after each
> sizing operation. This seems harder than necessary.

> What would be tremendously helpful would be a shape with an associated
macro
> that some one could provide me to use as a basis for my application. Any
> ideas and/or comments to point me in the right direction would also be
very
> helpful.

> Thank you.

> --
> Gerry Roston




Sat, 11 Oct 2003 01:39:19 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. MS Chart control and (fake) Gantt charts-Basic question

2. position split bar in gantt chart by vba-macro

3. Looking for Gantt Chart ActiveX

4. Charting Question - How to do something like a Gantt chart

5. GANTT Charts

6. Gantt Chart Properties

7. Gantt Chart

8. Obtaining Gantt chart properties

9. Prevent Repainting Gantt Chart

10. Repainting the Gantt chart

11. Vertical Line on Gantt Chart at specific dates

12. Gantt chart in excel

 

 
Powered by phpBB® Forum Software