Solved

TChart Question

Posted on 1998-12-07
9
1,062 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:willemnel
ID: 1349737
willemnel@freemail.co.za
0
 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 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