Page 1 of 1

Annotation Editor exception

Posted: Fri Mar 10, 2006 6:25 pm
by 9637279
Hi,

1. I add in design mode an annotation tool (no changes in default settings)
2. At runtime (upone a context menu click) I call:

Steema.TeeChart.Editors.Tools.AnnotationEditor AnnoEdit = new
Steema.TeeChart.Editors.Tools.AnnotationEditor(this.AnnoCustom);
Steema.TeeChart.Editors.EditorUtils.ShowFormModal(AnnoEdit);

3.In the editor I enter a long string for the text, like:
"ddddddddddddddddddddddddddddddddddddddddddddddd" and see
the annotation update life on the screen.
4. I click the tab to the right (Position/Size) and get an exception saying
that value such and such has to be between minimum and maximum.

I'd like to make this editor available to the enduser but the exception
is a problem. How can I avoid the exception.

Thanks,
fano

Posted: Mon Mar 13, 2006 2:44 pm
by narcis
Hi fano,

Thanks for advising, this is because the annotation tool allowed width was to low. We have already increased that range for the next maintenance release.

Still not fixed in 2.0.2306.26231 - Exception

Posted: Mon May 22, 2006 4:46 pm
by 9637279
Hi,

I just installed the maintanance release for .NET 2003 ver.
1.0.2306.26231 and it appears the editor is still not ok.
I get an unhandled exception:
"1182 is not a valid value for 'Value' 'Value' should be between
'Minimum' and 'Maxmum'.

Steema.TeeChart.Editors.Tools.AnotaionEditor AnnoEdit = new Steema.TeeChart.Editors.Tools.AnnotationEditor(this.AnnoCustom);
Steema.TeeChart.Editors.EditorUtils.ShowFormModal(AnnoEdit)

Is it not fixed?
fano

Posted: Wed May 24, 2006 8:29 am
by narcis
Hi fano,

We fixed the issue you originally described in build 2.0.2306.26231. We can not reproduce the error you are getting. Can you please check that you correctly replaced the TeeChart references in your project? If the problem persists, could you please send us an example we can run "as-is" or post the instructions to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

Thanks in advance.

Reproducable annotation editor exception:

Posted: Wed May 24, 2006 10:52 pm
by 9637279
Hi,

I have the correct reference for the new version for sure.

I found that I can cause or avoid the exception simply by selecting
a different auto position of the annotation tool. Here are my test results:

1. Postion: Left top - fine, editor comes up
2. Position: Left bottom - fine, editor comes up
3. Position: Right top or Right bottom - EXCEPTION happens
totally reproducable.

I simply create a annotation tool during design time and in an
menu event handler I add:

Steema.TeeChart.Editors.Tools.AnotaionEditor AnnoEdit = new Steema.TeeChart.Editors.Tools.AnnotationEditor(this.AnnoCustom);
Steema.TeeChart.Editors.EditorUtils.ShowFormModal(AnnoEdit)

One more important thing I noticed:
1. On my laptop I have a higher resultion: 1400 x 1050 and the editor does not scale properly. Some buttons cannot be seen completely, etc.
I guess if the dialog were sizeable one could strech it to see the rest, but the one for annoation is not sizeable, i.e. if you end user would go to the Text tab, s/he would see only part of the interface.

Is there any workaround?

Thanks,
fano

Posted: Thu May 25, 2006 8:06 am
by narcis
Hi fano,

I still can not reproduce it using the release you mentioned. Can you please try to reproduce it with the features demo included with latest maintenance release installation? You'll find the demo at TeeChart's program group. The examples you can test are the ones at All Features\Welcome !\Tools\Annotation.
One more important thing I noticed:
1. On my laptop I have a higher resultion: 1400 x 1050 and the editor does not scale properly. Some buttons cannot be seen completely, etc.
I guess if the dialog were sizeable one could strech it to see the rest, but the one for annoation is not sizeable, i.e. if you end user would go to the Text tab, s/he would see only part of the interface.
I couldn't reproduce that either. Could you please send us a screen-shot so that we can see the exact problem? You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

Thanks in advance.

Don't know how to post to your news server....

Posted: Sun Jun 11, 2006 7:28 pm
by 9637279
Hi
I'd love to post screenshots for this issue to your news server but
the address you gave launches MS outlook express on my work computer
and whatever I do there doesn't get through. I know its working on your end, but I have no clue how to configure that thing and if it works through the barriers of our IT department.

Sorry,
fano

Posted: Mon Jun 12, 2006 8:01 am
by narcis
Hi fano,

You should just set up your newsreader (i.e.: Outlook Express) with www.steema.net as a news server with all default settings. Then you should subscribe to the attachments newsgroups.

If you have problems connecting to the newsgroups please send the files directly to me.

Posted: Tue Jun 20, 2006 10:28 am
by narcis
Hi fano,

Thanks for the attachment.
I just installed the maintanance release for .NET 2003 ver.
1.0.2306.26231 and it appears the editor is still not ok.
This is not the latest release available. It is build 1.1.2307.20497 as you can see at our Version Info page.

Moreover, I can not reproduce the problem here using v1.1.2307.20497 and a dual-monitor configuration with an overall resolution of 2560*1024. Also, the annotation editor is resizable for me.

Can you please check if this version works fine at your end? Please make sure TeeChart assembly references are properly upgraded in your project.

Thanks for checking into this

Posted: Tue Jun 20, 2006 3:12 pm
by 9637279
Hi,

(I am using currently 2.02306.26231)

I tried other PCs and it seems only to happen on my laptop:
Dell Latitude D610 and even if I change to various resolutions.

On other PCs I don't see the problem - independent of resolution.
I just checked some PCs and another laptop in the laboratory.

I begin to suspect that the graphics driver fot that laptop (series)
has an issue. But I have not seen an update for latitude dells.

Thanks for your kind support.
fano

Posted: Wed Jun 21, 2006 8:12 am
by narcis
Hi fano,

This is really weird. In some ocasions we have found issues with graphics drivers and just changing their version solved the issue. Sometimes even downgrading their version.