Any news about 8.05 ?I expect this to be ready during May.
Search found 92 matches
- Tue May 19, 2009 11:05 am
- Forum: VCL
- Topic: Next VCL Release
- Replies: 9
- Views: 12604
- Fri May 15, 2009 11:14 am
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36950
- Fri May 15, 2009 10:16 am
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36950
Hi Yeray, I found this generic solution: SerieCopy := tmpChart[Serie]; // Farbe merken SeriesColor := tmpChart[Serie].Color; if IsPublishedProp(TCustomLineSeries(tmpChart[Serie]).LinePen, 'Color') then begin SeriesLineColor := GetOrdProp(TCustomLineSeries(tmpChart[Serie]).LinePen, 'Color') ; end; Se...
- Fri May 15, 2009 8:52 am
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36950
Hi Yeray, SeriesColor := tmpChart[1].Color; SeriesCopy.Color := clNone; SeriesCopy.Color := SeriesColor; Well this will work for some series types but not with all. If you use TFastLine you need this code: SeriesColor := (tmpChart[Serie] as TFastLineSeries).LinePen.color; (SerieCopy as TFastLineSeri...
- Fri May 15, 2009 7:38 am
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36950
Hi Yeray, today I did some new tests. I always get the error if ... - Rangecheck is enabled - use Project -> Create Project to compile the whole application complete (in german it´s called xxxx erzeugen - Shortcut is SHIFT + F9) - Start the project and press the Copy Button -> Error. My Chart has on...
- Thu May 14, 2009 1:48 pm
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36950
Hi Yeray, really strange. I got an error as soon as I enable RangeCheck. I tried your solution with setting the TmpChart to NIL. It works, but the color changes after setting the ParentChart to TargetChart. Is there any automatically mechanism to change the color if a new series is added? Can I swit...
- Thu May 14, 2009 12:02 pm
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36950
- Thu May 14, 2009 11:37 am
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36950
- Thu May 14, 2009 11:31 am
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36950
- Thu May 14, 2009 10:53 am
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36950
- Thu May 14, 2009 10:25 am
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36950
Hi Yeray, tested it with some FastLine series and it works. But please see the sample. I got an error: Received Copy Object RTTI.zip Content Type application/x-zip-compressed Length 13381 Erste Gelegenheit für Exception bei $7C812AFB. Exception-Klasse EListError mit Meldung 'Listenindex überschreite...
- Thu May 14, 2009 6:40 am
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36950
Hi Yeray, well I could solve one issue :D I can copy the settings using RTTI. This code works well: procedure CopyObject(ObjFrom, ObjTo: TObject); var PropInfos: PPropList; PropInfo: PPropInfo; Count, Loop: Integer; OrdVal: Longint; StrVal: String; FloatVal: Extended; MethodVal: TMethod; begin { Ite...
- Wed May 13, 2009 12:32 pm
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36950
Hi Yeray, to avoid this, you could not to delete your tmpEmpty chart until the exit of your application That´s not a good solution ... Or a little bit more tricky, you could use another stream to save the final chart before freeing the tmpEmpty chart Well that are a lot of Save and Load operations ....
- Wed May 13, 2009 10:31 am
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36950
Hi Yeray, Serie := StrToInt(Copy(Serien, 1, pos('#', Serien) - 1)); Serien := Copy(Serien, Pos('#', Serien) + 1, length(Serien)); Serien ist just a string which contains series indexes. For example: 0#3# Serie is the first number of this string - in this case 0. I use this number to select the corre...
- Wed May 13, 2009 8:35 am
- Forum: VCL
- Topic: Clone Series from a TmpChart ?
- Replies: 26
- Views: 36950