why is my datasource combobox's item only 4 ?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
weichangmei
Newbie
Newbie
Posts: 12
Joined: Thu Jun 06, 2013 12:00 am

why is my datasource combobox's item only 4 ?

Post by weichangmei » Tue Aug 20, 2013 1:51 pm

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 ?

weichangmei
Newbie
Newbie
Posts: 12
Joined: Thu Jun 06, 2013 12:00 am

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

Post by weichangmei » Tue Aug 20, 2013 2:05 pm

Added to upload the test program files.
Attachments
TeeChart2.rar
This is the test program.
(5.88 KiB) Downloaded 378 times

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

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

Post by Yeray » Wed Aug 21, 2013 3:38 pm

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.
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

weichangmei
Newbie
Newbie
Posts: 12
Joined: Thu Jun 06, 2013 12:00 am

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

Post by weichangmei » Wed Aug 21, 2013 4:37 pm

please look the attachment.
Attachments
00 screenshots.png
screenshots
00 screenshots.png (106.9 KiB) Viewed 5493 times

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

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

Post by Yeray » Thu Aug 22, 2013 7:41 am

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"
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