Some Problems using TeeInspector

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Some Problems using TeeInspector

Post by moelski » Thu Jun 14, 2007 8:19 am

Hi !

I have some trouble using TeeInspector in a non TChart application. My application uses an INI file and I want to be able to change the settings with the TeeInspector.

1) How can I change the captions for the header? And how can I set the caption to be displayed in german?
2) How can I set the width for the two columns? There is only the property "DefaultColWidth" but this sets the width to both columns. I want to set the first column to 100 pixels and the second column should use the rest width of the window.
3) If I set an item to Style = iiDouble and Type = Double I can´t input a double value. Everytime I enter something like "1,2" it is cleared and set to 0.
4) If I enter a value and press enter the focus don´t move to the next value. How can I reach this?
5) Is it possible (maybe in future releases) to set custom subheaders like in Delphi 2005/ 2006. Example : http://www.udvikleren.dk/images/articleimages/820.jpg
-> Color Options
-> Configurations

Greetz

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Jun 15, 2007 8:23 am

Hi Dominik,
1) How can I change the captions for the header? And how can I set the caption to be displayed in german?
You can change them by using :
TeeInspector1.Cells[0,0]:='custom property';
TeeInspector1.Cells[1,0]:='Custom value';

The language cannot be controled automatically.
2) How can I set the width for the two columns? There is only the property "DefaultColWidth" but this sets the
width to both columns. I want to set the first column to 100 pixels and the second column should use the rest width of the window.
I think this is just what the DefaultColWidth does, it sets the width for the first column leaving the value column with the rest of the space.
3) If I set an item to Style = iiDouble and Type = Double I can´t input a double value. Everytime I enter
something like "1,2" it is cleared and set to 0.
Yes, you're correct, it seems to be a bug, it has been added on our defect list and a fix for it will be considered to inclusion for the next maintenance releases.
4) If I enter a value and press enter the focus don´t move to the next value. How can I reach this?
I'm afraid this cannot be done with the existing TeeInspector, but if you have the source code version with some extra code you can customize it.
5) Is it possible (maybe in future releases) to set custom subheaders like in Delphi 2005/ 2006. Example :
We've added this feature as a wish for the next releases.

moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Post by moelski » Fri Jun 15, 2007 8:38 am

Hi Pep,

thx for your help !

moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Post by moelski » Tue Jun 19, 2007 8:48 pm

Hi !
Quote:

3) If I set an item to Style = iiDouble and Type = Double I can´t input a double value. Everytime I enter
something like "1,2" it is cleared and set to 0.


Yes, you're correct, it seems to be a bug, it has been added on our defect list and a fix for it will be considered to inclusion for the next maintenance releases.
Is this fixed in version 8 ?

moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Post by moelski » Tue Jun 19, 2007 8:51 pm

Well I did a test ...
It seems not to be fixed ...

Can you give ma a little piece of code so that I can change it by myself?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Jun 20, 2007 7:48 am

Hi moelski,

This issue was reported last week and hasn't been fixed in v8 yet. I'm sorry but we don't give support for TeeChart's source code. As soon as we find a fix for the issue we will apply it in our sources and will be included in following maintenance release.

Please be aware at this forum for new release announcements and what's being fixed on them.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Post by moelski » Wed Jun 20, 2007 9:22 am

Ok thx.

moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Post by moelski » Tue Aug 21, 2007 5:06 am

Hi Narcís,
If I set an item to Style = iiDouble and Type = Double I can´t input a double value. Everytime I enter
something like "1,2" it is cleared and set to 0.
This isn´t fixed in the 8.01, is it?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Aug 21, 2007 7:11 am

Hi moelski,

Yes, you are right. This issue (TV52012259) hasn't been fixed yet.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply