Teecommander button events

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
S-ON-S
Newbie
Newbie
Posts: 12
Joined: Tue Jun 07, 2005 4:00 am

Teecommander button events

Post by S-ON-S » Tue Jan 24, 2012 1:56 pm

Hi there,

how can I call the teecommander button events with my own buttons?

Thanks in advance,
Dennis

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Teecommander button events

Post by Yeray » Wed Jan 25, 2012 3:36 pm

Hi Dennis,

There is an example about this in the features demo at All features\Welcome !\Toolbar\Custom buttons
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

S-ON-S
Newbie
Newbie
Posts: 12
Joined: Tue Jun 07, 2005 4:00 am

Re: Teecommander button events

Post by S-ON-S » Thu Jan 26, 2012 7:24 am

Hi Yeray,

it isn't what i mean.
I would like have my own TButtons without TeeCommander to activate rotate, move and zoom of my Chart.
Are there function to solve the problem?

Thanks in advance,
Dennis

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Teecommander button events

Post by Yeray » Thu Jan 26, 2012 9:14 am

Hi Dennis,

I'm afraid it's not a simple call or a routine we can easily extract.
If I'm not wrong you are source code customer. Take a look at the MouseMove event in TeeComma.pas, where the actions over the commander are handled:

Code: Select all

Procedure TTeeCommander.DoMouseMove(X,Y:Integer; const Shift:TShiftState);
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply