Delphi Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreDelphi Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 14th, 2012, 06:51 AM
Healwave Healwave is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2012
Posts: 6 Healwave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 25 sec
Reputation Power: 0
Exclamation Urgent ! Company ORGANOGRAM

Hello, i have a really urgent thing to do and i dont know how!
I need to make an Company Organogram!.

One interesting thing i made was this one:
imageshack.us/scaled/landing/59/semttulofwg.png
But.. I dont know if it can do, i need to generate it when program is running, not before..
And i dont need database connection, because i will generate the things with programation.. i have a lot of checks to do before insert into the chart.

Please, can someone help me?
Feel free to tell me if you know other components!

thanks,
Healwave

Reply With Quote
  #2  
Old October 14th, 2012, 02:37 PM
majlumbo majlumbo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2008
Posts: 257 majlumbo User rank is Lance Corporal (50 - 100 Reputation Level)majlumbo User rank is Lance Corporal (50 - 100 Reputation Level)majlumbo User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 9 m 16 sec
Reputation Power: 6
You can install the components found here

It will install of these components



To install create a new package, and add drawobject1.pas and drawobject2.pas files to the package, then install.

Reply With Quote
  #3  
Old October 14th, 2012, 02:40 PM
Healwave Healwave is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2012
Posts: 6 Healwave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 25 sec
Reputation Power: 0
but how will i generate the organogram when the program is running?

Reply With Quote
  #4  
Old October 14th, 2012, 03:12 PM
majlumbo majlumbo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2008
Posts: 257 majlumbo User rank is Lance Corporal (50 - 100 Reputation Level)majlumbo User rank is Lance Corporal (50 - 100 Reputation Level)majlumbo User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 9 m 16 sec
Reputation Power: 6
Quote:
Originally Posted by Healwave
but how will i generate the organogram when the program is running?


You can create each object and place them on your form.

Example below adds two TRectangle components, place two TText components inside of them and connects them with a TZLine.
Code:
uses DrawObjects1, DrawObjects2;

var
   Rec1, Rec2: TRectangle;
   Txt1, Txt2: TText;
   TZ: TZLine;
begin
   Rec1 := TRectangle.Create(Self);
   Rec1.Parent := Self;
   Rec1.Top := 10;
   Rec1.Left := 10;
   Txt1 := TText.Create(Self);
   Txt1.Parent := Self;
   Txt1.Left := 10;
   Txt1.Top := 10;
   Txt1.Strings.Text := 'Line 1'+sLineBreak+'Line 2';
   Rec2 := TRectangle.Create(Self);
   Rec2.Parent := Self;
   Rec2.Top := 10;
   Rec2.Left := 150;
   Txt2 := TText.Create(Self);
   Txt2.Parent := Self;
   Txt2.Left := 150;
   Txt2.Top := 10;
   Txt2.Strings.Text := 'Line 1'+sLineBreak+'Line 2';
   TZ := TZLine.Create(Self);
   TZ.Parent := Self;
   TZ.Connection1 := Rec1;
   TZ.Connection2 := Rec2;
end;

To run, the DrawObjects.dcr file needs to be in your library path along with the *.dcu files.

I also attached a demo application that came with it.
Attached Files
File Type: zip DrawObject_Demo.zip (550.3 KB, 39 views)

Last edited by majlumbo : October 14th, 2012 at 03:18 PM.

Reply With Quote
  #5  
Old October 15th, 2012, 04:58 AM
Healwave Healwave is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2012
Posts: 6 Healwave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 25 sec
Reputation Power: 0
It's a nice way to do, however, not very efficient, because i can have over 50 things to design..

There isn't any component to make this easier?


And the client wont design anything! The program need to make the organogram without any interaction from the user..

Reply With Quote
  #6  
Old December 7th, 2012, 12:00 PM
Slavich Slavich is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 2 Slavich User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 42 m 11 sec
Reputation Power: 0
hello
how can i in TPic component instead .bmp load .jpg or .jpeg

Reply With Quote
  #7  
Old December 15th, 2012, 06:27 AM
Slavich Slavich is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 2 Slavich User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 42 m 11 sec
Reputation Power: 0
Zar zbilja nitko nezna?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreDelphi Programming > Urgent ! Company ORGANOGRAM

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap