Page 1 of 1

how to add button to teecommander toolbar

Posted: Wed Nov 05, 2008 11:11 pm
by 10050727
I am using TeeChart Pro 8 with Borland 2006.

I am trying to customize the TTeeCommander as shown in the example. When I add the TCommanderCustom class, it does not recognize TBaseForm. If I add "Base" to the "uses" clause, it is not recognized. If I add "uses TeeCommanderEditor" after the "implementation" clause, it is not recognized.

What am I doing wrong?

Thanks,
Kent

Posted: Thu Nov 06, 2008 8:22 am
by narcis
Hi Kent,

Both units you mention are specific of TeeNew demo, they are not TeeChart packages units. You can add buttons at runtime as shown in the demos you have seen. If you'd like to use TeeCommanderEditor unit you should include it in your project sources.