Search found 16 matches

by H.Hasenack
Fri Sep 21, 2012 6:32 am
Forum: FMX
Topic: firemonkey form can't show controls.
Replies: 43
Views: 104264

Re: firemonkey form can't show controls.

I can confirm this behaviour on my home computing device. Moreover: after running TeeRecompile the controls were gone. After I removed the bpls from the copy path (default System32) the controls worked normally again. So I tried copying the controls to an unused folder: %TEMP% folder. Again the cont...
by H.Hasenack
Thu Sep 20, 2012 8:18 am
Forum: FMX
Topic: firemonkey form can't show controls.
Replies: 43
Views: 104264

Re: firemonkey form can't show controls.

I am experiencing the same problem, and found a workaround that worked for me. Maybe it can help you pinpoint the problem better. After finding out and reading this topic I decided to temprarily disable my teetree library, so i renamed TeeTree2D16Tee9.bpl to xxTeeTree2D16Tee9 And great! the controls...
by H.Hasenack
Tue Jul 24, 2012 11:13 am
Forum: VCL
Topic: Store TCHart, preserving datasources links
Replies: 1
Views: 4802

Store TCHart, preserving datasources links

I have created my own datasource to link my custom data to TCHart, and it works like a charm.

But now I want to allow my user to create charts and store them (as a template) including the data source links rather than the data itself.

Is there an example for doing this? Any tips?

Regards - Hans
by H.Hasenack
Thu May 10, 2012 12:00 pm
Forum: VCL
Topic: TCHart has trouble handling dates < 1895
Replies: 10
Views: 16300

Re: TCHart has trouble handling dates < 1895

In this case you'd have to write your own DateTimeToStr routines, as the XE2 VCL raises an exception if the date is before 01-01-0001 The other limit (31-12-9999) was just introduced by myself for completeness. Moreover, this is the routine that determines the label size, not the plotting routine it...
by H.Hasenack
Wed May 09, 2012 11:03 am
Forum: VCL
Topic: TCHart has trouble handling dates < 1895
Replies: 10
Views: 16300

Re: TCHart has trouble handling dates < 1895

The fix was easy and simple... Just use IsDateTime instead of ExactDateTime It works like a charm, independent of the ExactDateTime value. Also I precalculated the values to optimize the code. The final patch would then look like tis: {$ifdef HH_PATCH_TC_MINDATE} v:=Value; if IsDateTime then begin /...
by H.Hasenack
Fri Apr 27, 2012 12:14 pm
Forum: VCL
Topic: TCHart has trouble handling dates < 1895
Replies: 10
Views: 16300

Re: TCHart has trouble handling dates < 1895

- It still fails if you have ExactDateTime to true. Does it ? - at least it works just fine in my tests... - If anyone wants a date before 1/1/1, it'll be truncated to 1/1/1. Well, that allows for an additional 1895 years of history. I must say, using pre-historic dates (29/02/-100) did not spring ...
by H.Hasenack
Thu Apr 26, 2012 7:58 am
Forum: VCL
Topic: TCHart has trouble handling dates < 1895
Replies: 10
Views: 16300

Re: TCHart has trouble handling dates < 1895

Hi Yeray I am afraid your solution introduces a new error because it will not be able to generate labels for dates before 31-12-1899. :shock: The labels would be translated into dates after the delphi "0" date because of thre abs call. Here;'s the solution I came up with, and which seems to work as ...
by H.Hasenack
Fri Apr 20, 2012 9:24 am
Forum: VCL
Topic: TCHart has trouble handling dates < 1895
Replies: 10
Views: 16300

Re: TCHart has trouble handling dates < 1895

Unfortunately the TChartOffice.exe delivered with the binaries install wont start. I downloaded another one separately, but this one does not accept dates before 1900, they are truncated to 00:00:00 Tee9New_win32.exe ran just fine. I manage to reproduce the error like this: Tab All features Miscella...
by H.Hasenack
Thu Apr 19, 2012 7:27 am
Forum: VCL
Topic: TCHart has trouble handling dates < 1895
Replies: 10
Views: 16300

TCHart has trouble handling dates < 1895

Open a chart (eg in TeeChartOffice) Add a (bar) series make bottom axis exact datetime, interval 1 year ensure round first label is checked add/change a data point so it is before 1895, eg 01-01-1850 Crash: EInvalidOp casued by routine that tries to determine the length of the rounded label. Actuall...
by H.Hasenack
Tue Feb 28, 2012 8:38 am
Forum: VCL
Topic: Activate TeePro extensions in my app.
Replies: 4
Views: 8151

Re: Activate TeePro extensions in my app.

My app uses a plugin system for extenstions. These plugins are simply runtime packages that are in a subfolder and loaded during runtime. In order to do this I have a kernel bpl and a very minimalistic exe file that depends only on some vcl runtime libs and the kernel bpl. The kernel itself depends ...
by H.Hasenack
Tue Feb 14, 2012 2:38 pm
Forum: VCL
Topic: Activate TeePro extensions in my app.
Replies: 4
Views: 8151

Activate TeePro extensions in my app.

My app uses runtime libraries, and also depends on the teepro extensions. Unfortunately the initialization section of the units are not called if they are not in the uses list of the main app, or if no code from the unit is directly linked into my own units. Is there an 'easy' way to ensure all "pro...
by H.Hasenack
Fri Jan 20, 2012 9:26 am
Forum: VCL
Topic: Stacked Area Chart rendering patch
Replies: 1
Views: 4921

Stacked Area Chart rendering patch

Yeray, Narcis December last year I sent off a mail to support with some code changes proposals. Just this morning I decided to resend it with receive/read notification because I got no response. This time I got a confirmation mail ther support mailbox is for priority support only. I don't really min...
by H.Hasenack
Thu Jan 12, 2012 4:10 pm
Forum: VCL
Topic: Recompile for daily build
Replies: 5
Views: 10652

Re: Recompile for daily build

Thanks! :)
by H.Hasenack
Thu Jan 12, 2012 10:58 am
Forum: VCL
Topic: Recompile for daily build
Replies: 5
Views: 10652

Re: Recompile for daily build

Narcís, it seems de generated 'TeeChart fore VCL.groupproj' in the VCL subfolder misses the library extension file information. The file generated by TeeRecompile uses (for all referred .dproj files) <Projects Include="Tee.dproj"> rather than <Projects Include="Tee916.dproj"> Moreover, de VCL subfol...
by H.Hasenack
Fri Jan 06, 2012 8:16 am
Forum: VCL
Topic: Recompile for daily build
Replies: 5
Views: 10652

Re: Recompile for daily build

Hi Narcís Recompiling the packages would not be a problem if teerecompile would not be required to generate all the sources for XE2 due to the TEEVCL namespace. It would help if teerecompile could just generate the sources, and leave the compiling to me. AMOF it would be helpful to have the TeeRecom...