-
Jul 1st, 2020, 08:32 PM
#1
Thread Starter
New Member
Vertical Organization
Hello Devs!
How do I create this type of chart in vb6?
s
Thank you very much in advance
-
Jul 1st, 2020, 10:56 PM
#2
Re: Vertical Organization
Welcome to the forums
The logic appears really simple
1. start at lowest level and determine how many total images you need for that level. From that image above, looks like those icons are evenly space by some static/calculated gap size.
2. each level above the previous one is centered on the previous one.
Creating organizational charts for small companies or family trees for a couple generations can be challenging but not too difficult. The problem starts when you run out of real estate. Then what do you do? Do you start to shrink the images so more will fit? Do you get creative and write some stagger algorithm? Many other possibilities. I've worked in some very large organizations where a chart on a single page required it to be scaled almost to point of not being readable. And other charts, there was just no way to get it on a single sheet of paper.
Recommend searching for sample code using "organizational chart vb6" in your searches and also maybe googling organizational charts and looking at the images to get an idea for other layouts.
Generally speaking, your question is too vague. Being new to this forum, people are going to want to see some effort on your end like posting relative sample code you wrote and are having problems with. Be sure to be very specific in your questions.
Last edited by LaVolpe; Jul 1st, 2020 at 11:22 PM.
-
Jul 1st, 2020, 11:15 PM
#3
Re: Vertical Organization
Perhaps the question is about how to show those images with transparent background and the curved lines? I'm not sure.
-
Jul 2nd, 2020, 01:53 AM
#4
Re: Vertical Organization
Original location of the image:
https://www.freepik.com/free-vector/...rt_4393332.htm
Seems to be about vector graphics.
For simplicity you can also have a look at a flowchart activex control
Example:
https://www.mindfusion.eu/flowchartx.html
-
Jul 2nd, 2020, 07:31 AM
#5
Thread Starter
New Member
Re: Vertical Organization
Thanks Devs for help. Idea is this.
Step by step we'll get there.
-
Jul 2nd, 2020, 04:47 PM
#6
Re: Vertical Organization
I suppose you can have a resizable Form and use scrollbars for large diagrams. Even implement zoom.
Not as easy though if you want to print the thing on paper too.
But finding some 3rd party library is going to be easier and faster. Well, at least until it inevitably becomes unavailable or breaks because it failed to follow the rules or relied on some quirk in an old version of Windows. High DPI scenarios are common now and can break a lot of old stuff.
-
Jul 2nd, 2020, 05:11 PM
#7
Re: Vertical Organization
-
Jul 3rd, 2020, 10:21 AM
#8
Thread Starter
New Member
Re: Vertical Organization
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|