Page 1 of 1

Some Problems using TeeInspector

Posted: Thu Jun 14, 2007 8:19 am
by 9349911
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

Posted: Fri Jun 15, 2007 8:23 am
by Pep
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.

Posted: Fri Jun 15, 2007 8:38 am
by 9349911
Hi Pep,

thx for your help !

Posted: Tue Jun 19, 2007 8:48 pm
by 9349911
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 ?

Posted: Tue Jun 19, 2007 8:51 pm
by 9349911
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?

Posted: Wed Jun 20, 2007 7:48 am
by narcis
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.

Posted: Wed Jun 20, 2007 9:22 am
by 9349911
Ok thx.

Posted: Tue Aug 21, 2007 5:06 am
by 9349911
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?

Posted: Tue Aug 21, 2007 7:11 am
by narcis
Hi moelski,

Yes, you are right. This issue (TV52012259) hasn't been fixed yet.