Search found 15 matches

by TonyHunt
Mon Aug 24, 2009 10:27 am
Forum: VCL
Topic: prevent OnMouseMove event triggering
Replies: 3
Views: 6264

Re: prevent OnMouseMove event triggering

Thank you very much, that's exactly what I needed.

Please let me know if you ever get to visit the U.K.,
I would be delighted to introduce you to a quaint old English custom called "Pub Crawling".


Tony
by TonyHunt
Mon Aug 17, 2009 12:09 pm
Forum: VCL
Topic: prevent OnMouseMove event triggering
Replies: 3
Views: 6264

prevent OnMouseMove event triggering

Hi,
I would like to prevent the OnMouseMove event triggering when the cursor is NOT over the actual chart drawing area.

Is this possible?

By the way what is the correct terminology for "the actual chart drawing area" :oops:

Tony
by TonyHunt
Mon Jul 27, 2009 10:26 am
Forum: VCL
Topic: Gantt Chart change colour
Replies: 2
Views: 5288

Re: Gantt Chart change colour

:oops:

You have my sincere apologies. I don't know HOW you put up with such stupid customers.

As usual, my fault, I was using that but the series was off - screen.

:oops:

Tony
by TonyHunt
Sat Jul 25, 2009 11:44 am
Forum: VCL
Topic: Gantt Chart change colour
Replies: 2
Views: 5288

Gantt Chart change colour

I am adding an item to a Gantt chart with the AddGanttColor method.
eg: nGantt := PlanGantt.AddGanttColor(dStartTime,dEndTime,nTool,'',nColor);

I'm OK changing Start or End values eg: PlanGantt.StartValues[nGantt] := dStartTime;

How do I change the colour?

Best Wishes

Tony
by TonyHunt
Fri Jul 24, 2009 9:30 am
Forum: VCL
Topic: Gantt Chart. Width of bars.
Replies: 4
Views: 7673

Re: Gantt Chart. Width of bars.

Sorry for the delay answering. The advantage with working Sunday is I don't allways work midweek. :)
Thank you for the answer, it was exactly what I needed.

Tony
by TonyHunt
Mon Jul 20, 2009 11:51 am
Forum: VCL
Topic: Gantt Chart. Width of bars.
Replies: 4
Views: 7673

Re: Gantt Chart. Width of bars.

Thanks for the quick response. >>Series1.Pointer.VertSize := 20;<< I'm sorry, I asked the wrong question.. :oops: I guess I REALLY meant the Length of the bar itself, not the pointer.. I get confused by VertSize referencing the Width....... Sometimes English is SO convoluted. Best Wishes Tony AND of...
by TonyHunt
Sun Jul 19, 2009 4:35 pm
Forum: VCL
Topic: Gantt Chart. Width of bars.
Replies: 4
Views: 7673

Gantt Chart. Width of bars.

Hi,

How do I find the width of a gantt bar at run time.

Then, how do I resize by code?

If there are any examples which show this, I apologise in advance...
It is VERY late on a Sunday afternoon and my wife has just handed me a glass of wine... :D

Best Wishes,

Tony
by TonyHunt
Tue Jul 14, 2009 11:25 am
Forum: VCL
Topic: Using DragPoint in a Gantt Chart
Replies: 2
Views: 5531

Re: Using DragPoint in a Gantt Chart

Thank you very much, that gave me a good insight into several other things as well.

Tony
by TonyHunt
Mon Jul 13, 2009 12:31 pm
Forum: VCL
Topic: Using DragPoint in a Gantt Chart
Replies: 2
Views: 5531

Using DragPoint in a Gantt Chart

I am investigating Using DragPoint in a Gantt Chart on the Y axis. This works well but I would like to be able so enable a 'SnapTo' or Step feature rather than the smooth linear result I am getting from the DragPoint at the moment. I have seen the 'Desired Increment' on the Left Axis but regrettably...
by TonyHunt
Mon Mar 17, 2008 11:37 am
Forum: VCL
Topic: Spacing BottomAxis Labels
Replies: 4
Views: 8309

Thanks. I have posted an entry in the newsgroup.

Best Wishes

Tony Hunt
by TonyHunt
Sun Mar 16, 2008 1:58 pm
Forum: VCL
Topic: Spacing BottomAxis Labels
Replies: 4
Views: 8309

Spacing BottomAxis Labels

I would like to space the bottom axis Labels mid-way between each of the vertical markers.

How would I approach this. I have the style of the axis set to talText and I can see there is a LabelsAlign value for the BottomAxis but I am unsure of the correct usage.

Best Wishes

Tony Hunt
by TonyHunt
Wed Nov 07, 2007 11:21 am
Forum: VCL
Topic: Gantt Chart. Vertical Drag.
Replies: 1
Views: 4368

Gantt Chart. Vertical Drag.

How do I drag items vertically.

In the non-date axis?

I'm sure I'm missing something simple.

Best Wishes

Tony Hunt
by TonyHunt
Tue Jul 03, 2007 9:56 am
Forum: VCL
Topic: TDBTreee Synchronising Tables
Replies: 4
Views: 15393

Thanks very much.

That works well.

Best Wishes

Tony Hunt
by TonyHunt
Fri Jun 29, 2007 9:25 am
Forum: VCL
Topic: TDBTreee Synchronising Tables
Replies: 4
Views: 15393

Hi Narcis, Thank you for the quick response. I am indeed using the AfterAdd event in Charts as in the excellent samples. Regrettably it is not the Charts I am having problems with but the TDBTree object. Is there an AfterAdd event for the TDBTree or a similar way to acheive the same result? Best Wis...
by TonyHunt
Thu Jun 28, 2007 12:10 pm
Forum: VCL
Topic: TDBTreee Synchronising Tables
Replies: 4
Views: 15393

TDBTreee Synchronising Tables

Hi,

When I highlight an item in the DBtree, I would like to have the Table goto
the appropriate record.

How do I achieve this?

If there is an example I have not spotted, I apologise, please just tell me
the filename.

Best Wishes

Tony Hunt