Page 1 of 1
ChartEditorPanel questions
Posted: Tue Apr 08, 2008 5:09 pm
by 6928489
Hi:
I'm trying to use the ChartEditorPanel. What is the large empty window on the left of the control used for? And is there a way to disable it? It takes up a lot of room. And I don't see it when the editor control is popped in the "old" way.
Thanks,
Matt
Posted: Wed Apr 09, 2008 8:00 am
by yeray
Hi Matt,
We are not sure to understand what you mean. We've tested the ChartEditorPanel component with TeeChart v8.0.0.3 and we could see nothing strange.
Please, could you send us an image showing that?
You can either post your files at news://
www.steema.net/steema.public.attachments newsgroup or at our
upload page.
Posted: Wed Apr 09, 2008 2:45 pm
by 6928489
I have sent you a screen capture from your demo. The window in question si circled in red. The popup chart editor doesn't not have this window.
Thanks,
Matt
Posted: Wed Apr 09, 2008 2:54 pm
by narcis
Hi Matt,
Thanks for the image. I'm not able to reproduce this in v8.0.0.3. Which TeeChart version are you using?
Thanks in advance.
Posted: Wed Apr 09, 2008 3:17 pm
by 6928489
I am 5.x customer, but currently developing on the demo version 8.0.0.3.10507.
We plan to purchase an upgrade, assuming I can get to the end of my project without getting stuck.
Note that the image came from your demo, not from my app.
Thanks,
Matt
Posted: Thu Apr 10, 2008 10:51 am
by narcis
Hi Matt,
Thanks for the info. Yes, I saw that and couldn't reproduce it with the features demo in my v8.0.0.3 installation. Should I follow any specific step to reproduce it?
Thanks in advance.
Posted: Thu Apr 10, 2008 11:05 am
by 6928489
Hi:
Nothing specific. It is always present when the "embedded" demo is displayed, or for that matter in my app.
I still have 5.x installed, but I am planning on purchasing the upgrade. I'd really hate to uninstall 5.x just now.
I'll try it in a vm that has 5.x installed and in one that does not and let you know what happens, OK?
-- Matt
Posted: Thu Apr 10, 2008 11:10 am
by narcis
Hi Matt,
Thanks again for the information but I don't think v5 should be interfering here, different TeeChart versions can coexist in the same machine. In fact, in my machine I have v4, v5, v6, v7 and v8 installed!
Posted: Thu Apr 10, 2008 12:07 pm
by 6928489
Hi:
I installed your version 8 Active X evaluation (not demo) on a brand new virtual machine, with nothing else installed and the window still appears.
Is there a difference between the stand alone demo and the one that comes with the Active X eval?
And how can we move this forward?
Thanks,
Matt
Posted: Mon Apr 14, 2008 9:56 am
by narcis
Hi Matt,
This is most likely the editor panel has been set to TreeMode. This can be solved using this code:
Code: Select all
Private Sub Form_Load()
ChartEditorPanel1.Chart = TChart1
TeeEditor1.Chart = TChart1
TeeEditor1.TreeView = True
ChartEditorPanel1.Editor = TeeEditor1
End Sub
However, this produces an error, which is a bug (TA05012964) that we will try to fix for next releases.
Alternatively you could search through your windows registry for "TreeMode" and set the property to zero if you find it.
Posted: Mon Apr 14, 2008 11:06 am
by 6928489
Hi:
As you see from my earlier post, I installed your demo on a brand new virtual machine -- it was the first application ever installed on the operating system -- and it displayed the same issue. Further, I have search my development machine's registry for "TreeMode" and have found nothing. Therefore, I'm not sure your current theory makes sense.
I'll try your code fragment and see what happens.
Do you have any other idea?
Thanks,
Matt
Posted: Thu Apr 17, 2008 11:10 am
by narcis
Hi Matt,
We could finally reproduce the issue here when having the editor set to TreeMode in the registry.
You can disable that running your machine's registry and going to HKEY_CURRENT_USER\Software\Steema Software\TeeChart Pro\Editor\ and setting TreeMode to false (0).
If the registry entry doesn't exist you can create it manually.