TeeCommander add button

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Calou
Advanced
Posts: 104
Joined: Wed Nov 19, 2008 12:00 am

TeeCommander add button

Post by Calou » Wed Oct 21, 2009 9:17 am

Hello,

Is it possible on a TeeCommander Bar to add our own button?

Thanks for help

Regards

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

Re: TeeCommander add button

Post by Yeray » Wed Oct 21, 2009 9:37 am

Hi Calou,

Have you seen the demos under All Features\Welcome !\Components\Toolbar?
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

Calou
Advanced
Posts: 104
Joined: Wed Nov 19, 2008 12:00 am

Re: TeeCommander add button

Post by Calou » Wed Oct 21, 2009 9:40 am

Many thanks

Calou
Advanced
Posts: 104
Joined: Wed Nov 19, 2008 12:00 am

Re: TeeCommander add button

Post by Calou » Mon Nov 02, 2009 9:23 am

Hello,

How could i do to find the position of the last button on the teecommander in order to place my button?

Thanks for help

Regards

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

Re: TeeCommander add button

Post by Yeray » Mon Nov 02, 2009 12:56 pm

Hi

You can do as follows:

Code: Select all

TeeCommander1.Controls[TeeCommander1.ControlCount-1].BoundsRect
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

Calou
Advanced
Posts: 104
Joined: Wed Nov 19, 2008 12:00 am

Re: TeeCommander add button

Post by Calou » Thu Nov 05, 2009 1:07 pm

Many thanks

Post Reply