Search found 13 matches

by TimM
Tue Oct 09, 2007 7:54 am
Forum: ActiveX
Topic: Runtime error 216 in my app if only window in taskbar
Replies: 12
Views: 13905

As a small aside - I happened to have a Windows 2000 image loaded, and I tried the above steps in it, and I get the same runtime error from the version of my application that has TChart included.
by TimM
Mon Oct 08, 2007 11:03 am
Forum: ActiveX
Topic: Runtime error 216 in my app if only window in taskbar
Replies: 12
Views: 13905

You can check what happens if you set this property to False just before to call the dialogs (TChart1.AutoRepaint = False) and set it again to true when they are closed. I have tried your suggestion (its a good one) - although I just turned off auto-repaint before showing settings dialog and didn't...
by TimM
Tue Oct 02, 2007 1:36 pm
Forum: ActiveX
Topic: Runtime error 216 in my app if only window in taskbar
Replies: 12
Views: 13905

Hi Tim, I am looking for TabStop both in the documentation and in the stubs that were generated by Dolphin (it processes the ActiveX control and infers all the methods) and I can't find any reference to TabStop? Tim Having thought about it over coffee I realise that all visual controls have the Tab...
by TimM
Tue Oct 02, 2007 9:10 am
Forum: ActiveX
Topic: Runtime error 216 in my app if only window in taskbar
Replies: 12
Views: 13905

Hi Tim, I'm sorry, we're not familiarized with Dolphin Smalltalk, but we can try with some things which could be related with this problem. As you said, maybe the problem happens when the Chart is focused or a part still active, in that case you can do some tests adding : TChart1.TabStop = True Hel...
by TimM
Wed Sep 26, 2007 3:22 pm
Forum: ActiveX
Topic: Runtime error 216 in my app if only window in taskbar
Replies: 12
Views: 13905

I have some other suggestions to try - forcing a Garbage Collect (your examples are not done in a VM based language) and trying to force a Free of the main TChart IUnknown instance. I tried these suggestions and none of them seem to work. I can get a runtime error every time if I close the TChart w...
by TimM
Wed Sep 26, 2007 1:20 pm
Forum: ActiveX
Topic: Runtime error 216 in my app if only window in taskbar
Replies: 12
Views: 13905

have you tried to do : tchart1.RemoveAllSeries in the OnClose event ? I have just tried plugging that in, and I still get the same error? Its weird that it happens if its the only window, although I have heard reports from another Dolphin user that they have seen a similar error (and not with a sin...
by TimM
Sun Sep 09, 2007 11:48 pm
Forum: ActiveX
Topic: Runtime error 216 in my app if only window in taskbar
Replies: 12
Views: 13905

Another interesting point on this subject - If I open my app and show a graph and then close it - I exit without any errors. However, if I right click on my graph and show the TChart Settings dialog (I trap the right click mouse event, show a menu and then call the Settings function) - if I close th...
by TimM
Sat Sep 08, 2007 4:20 pm
Forum: ActiveX
Topic: Left Axis title overlaps Label if decimal values
Replies: 2
Views: 3584

That worked perfectly thanks!

(In fact even in Smalltalk it translates perfectly as:

chart axis left labels size: 20.

)
by TimM
Fri Sep 07, 2007 7:24 pm
Forum: ActiveX
Topic: Runtime error 216 in my app if only window in taskbar
Replies: 12
Views: 13905

Any further thoughts on this?

While waiting for a reply I did some more experiments to see if I'm doing something wrong or if I can eliminate TChart as the culprit. I have noticed that if I change my app, catch the closing event of my application and for the two graphs that I display I do: ClearChart and Close Then I don't get t...
by TimM
Thu Sep 06, 2007 5:44 pm
Forum: ActiveX
Topic: Left Axis title overlaps Label if decimal values
Replies: 2
Views: 3584

Left Axis title overlaps Label if decimal values

Is there any way to put padding between the title of the left axis and numeric labels of data? I have a situation where my left axis title is a single line, however I have numeric data with 2 decimal values e.g. 10.75 (this is using an automatic scale) and it overlaps the numeric labels. Is there an...
by TimM
Thu Sep 06, 2007 5:35 pm
Forum: ActiveX
Topic: Runtime error 216 in my app if only window in taskbar
Replies: 12
Views: 13905

Runtime error 216 in my app if only window in taskbar

Hi there - I've been tracking down a weird error in my application - if its the only application running, and I close it I get several errors as follows: The instruction at "0x...." referenced memory at "0x....". The memory could not be "read". Runtime error 216 at 50423C1E I think this might be rel...
by TimM
Tue May 15, 2007 4:35 pm
Forum: ActiveX
Topic: Stacked BarChart - data not lining up?
Replies: 3
Views: 4636

Thanks for the swift reply. I can think of 2 options here: 1. Add null values to the series where there's no existing value. 2. Use AddXY to specify at which X value each series point should be plotted. The pointer to option #2 was an interesting one, I gave it a go but still found that without valu...
by TimM
Tue May 15, 2007 10:48 am
Forum: ActiveX
Topic: Stacked BarChart - data not lining up?
Replies: 3
Views: 4636

Stacked BarChart - data not lining up?

Hi there - I have a stacked barchart and am finding that I'm having difficulty getting my data to line up correctly without lots of programming work on my part. I'm thinking I must be doing something obviously wrong and am after a few pointers. Essentialy I want to have bars for: Jan Wk1, Jan Wk2, J...