Solved

TChart Question

Posted on 1998-12-07
9
1,057 Views
Last Modified: 2012-08-14
This is actually a C++ Builder question, but since Delphi is nearly the same, I tought I'd give it a try here.

I'm busy writing a scheduling program and in this I need a Gantt type graph, but with movable bars (drag and move) Is this possible with TChart/TGanttSeries or will I have to write a new component? Please give full details as I'm rather new at this. More points available if neccesary.
0
Comment
Question by:willemnel
  • 5
  • 4
9 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 50 total points
ID: 1349734
Hi willemnel,

I don't think this is much of a problem, because TeeChart has a demo of this :

*********************************************}
{  TeeChart Gantt Editor example              }
{  Copyright (c) 1995-1997 by David Berneda   }
{  All rights reserved                        }
{*********************************************}

{ This example shows how to allow dragging and resizing of
  Gantt bars at runtime.
}

Regards, Zif.
0
 
LVL 1

Author Comment

by:willemnel
ID: 1349735
Thanks, Zif. Can you please supply the code since I can't seem to find it under C++ Builder's help.
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1349736
I'll send it by e-mail. Can you supply your email?
0
 
LVL 1

Author Comment

by:willemnel
ID: 1349737
willemnel@freemail.co.za
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 8

Expert Comment

by:ZifNab
ID: 1349738
Sending...
0
 
LVL 1

Author Comment

by:willemnel
ID: 1349739
Got it, thanks. Just trying to get hold of BinHex 4.0...
0
 
LVL 1

Author Comment

by:willemnel
ID: 1349740
OK, I've got it decoded. It has helped me a bit. Just a question. Do you know what type ***.StartValue[] and ***.EndValue[] is? In the Pascal code you gave it looks like a Double, but C++ refuses to accept it like that. I've tried a few types but no luck.
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1349741
Hi willemnel,

From Delphi help-file :

LabelStart.Caption:=XValueToText(StartValues[Selected]);

function XValueToText( Const AValue : Double ) : String;

The result of StartValues[] is a double,
while XValueText should result in a string.

Maybe you can find different information in the C++ helpfile.

Regards, Zif.

0
 
LVL 1

Author Comment

by:willemnel
ID: 1349742
Thanks a lot, Zif
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now