Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Organization Charts
Message
From
12/06/2001 18:59:31
 
 
To
12/06/2001 12:10:13
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00518463
Message ID:
00518664
Views:
8
For OCX controls, check out www.Hallogram.com or www.dbi-tech.com. You may be able to find something there.

If you're really ambitious, you could try programming Visio through automation. There are a variety of nice objects to work with and connecting lines, but the positioning and sizing etc. would be application driven.

Fox doesn't have much of a document model to work with for printing. You could create a report form, with reverse engineering, I suppose.

Actually, it would be possible to do in JavaScript in the rich document model of HTML.

Significant issues:

1 -- accessing files from JavaScript, which is possible using the IE JS extensions to access the OS

2 -- the algorithm to create the logical data representation. It would be pretty straightforward to create a linked list of objects. Assuming a well-structured orgchart -- Read the ASCII text in, containing Person, Position, ReportsTo fields into an array. Find the person who doesn't report to anyone. Make that person the top of the list and create an object to represent her/him. Find all the people reporting to that position, create objects and make object references to an array in the boss object. Process those bossed objects in turn in the same way.

3 -- representation on the screen.

Enjoy!

Jay


>Does anyone know of a tool (ocx or class ) than can draw an organization charts
Previous
Reply
Map
View

Click here to load this message in the networking platform