Page 1 of 1

why is my datasource combobox's item only 4 ?

Posted: Tue Aug 20, 2013 1:51 pm
by 16566198
My progrom's screenshots at design time.
Image

My program's screenshots at runtime.
Image

The sample program "TeeChartOffice" shiped with TeeChart Components.
Image

i want my program's datasource comboBox items like the sample program "TeeChartOffice", how to do ?

Re: why is my datasource combobox's item only 4 ?

Posted: Tue Aug 20, 2013 2:05 pm
by 16566198
Added to upload the test program files.

Re: why is my datasource combobox's item only 4 ?

Posted: Wed Aug 21, 2013 3:38 pm
by yeray
Hi,

I can't see the screenshots, can you please correct the links?
Also, TeeChartOffice sources are shipped with the binary version. Find them at the "\Examples\TeeChartOffice\Sources" folder in your TeeChart installation.

Re: why is my datasource combobox's item only 4 ?

Posted: Wed Aug 21, 2013 4:37 pm
by 16566198
please look the attachment.

Re: why is my datasource combobox's item only 4 ?

Posted: Thu Aug 22, 2013 7:41 am
by yeray
Hi,

You just have to add some units to the uses clause:

Code: Select all

uses TeeDBSumEdit, TeeDBSourceEditor, DBEditCh, TeeDBCrossTab, TeeExcelSource, TeeSeriesTextEd, TeeXML;
If you also want to add the TeeExpression unit, note it's shipped with the TeeChartOffice example, at "\Examples\TeeChartOffice\Sources"