TChart Question

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.
LVL 1
willemnelAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
ZifNabConnect With a Mentor Commented:
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
 
willemnelAuthor Commented:
Thanks, Zif. Can you please supply the code since I can't seem to find it under C++ Builder's help.
0
 
ZifNabCommented:
I'll send it by e-mail. Can you supply your email?
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
willemnelAuthor Commented:
willemnel@freemail.co.za
0
 
ZifNabCommented:
Sending...
0
 
willemnelAuthor Commented:
Got it, thanks. Just trying to get hold of BinHex 4.0...
0
 
willemnelAuthor Commented:
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
 
ZifNabCommented:
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
 
willemnelAuthor Commented:
Thanks a lot, Zif
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.