Search found 53 matches

by David Berneda
Tue Feb 14, 2017 9:53 am
Forum: VCL / FMX
Topic: Access current row/columns cells
Replies: 2
Views: 10124

Re: Access current row/columns cells

New beta v1.01 release, and a new example showing how to use "custom sorting"

https://github.com/Steema/TeeGrid/tree/ ... %20Sorting

Nightly build:
http://www.steebi.com/files/code/beta/vcl_fmx/teegrid/


regards !
david
by David Berneda
Tue Feb 14, 2017 8:57 am
Forum: VCL / FMX
Topic: Access current row/columns cells
Replies: 2
Views: 10124

Re: Access current row/columns cells

The "Sender" parameter in the OnClickedHeader event is the column that is under the mouse xy position, you can use it to determine the column index, name etc. For example: procedure TFormGridCharts.TeeGrid1ClickedHeader(Sender: TObject); begin Caption:=Sender.ClassName; if Sender is TColumn then Cap...
by David Berneda
Mon Feb 13, 2017 3:28 pm
Forum: VCL / FMX
Topic: TeeGrid Detail Rows
Replies: 1
Views: 8019

Re: TeeGrid Detail Rows

There is already an example using Master-detail datasets (not TeeBI) :

https://github.com/Steema/TeeGrid/tree/ ... il_FireDAC

regards !
david
by David Berneda
Mon Feb 13, 2017 3:26 pm
Forum: VCL / FMX
Topic: Form42 Example
Replies: 2
Views: 10074

Re: Form42 Example

Hi oflor Automatic embedded "live" charts inside grid cells is planned for next release (v1.5 maybe). For static charts (just painted as bitmaps), I've uploaded a new example showing how to do it: https://github.com/Steema/TeeGrid/tree/master/demos/VCL/Static%20Charts A column "OnPaint" event is use...
by David Berneda
Thu Oct 16, 2014 10:51 am
Forum: Beta versions
Topic: New beta private community at Google+
Replies: 2
Views: 44077

New beta private community at Google+

I'd like to start a beta testing group for a new feature in TeeChart components and get feedback.

If anybody is interested please follow the link below to request entering this Google+ private community:

https://plus.google.com/communities/112 ... 3735404281
by David Berneda
Wed Jan 15, 2014 3:09 pm
Forum: VCL
Topic: C++ Faults when a TChartListBox is used in a DLL.
Replies: 43
Views: 81839

Re: C++ Faults when a TChartListBox is used in a DLL.

I've just tested the project with "XE5 Update 2" and it works fine, the AV exception does not raise. Attached the project opened and saved with "XE5 Update 2". I've added Dependency from Exe to DLL so the IDE will recompile both projects when changing something in the DLL project. I've added another...
by David Berneda
Thu Dec 19, 2013 9:20 am
Forum: VCL
Topic: C++ Faults when a TChartListBox is used in a DLL.
Replies: 43
Views: 81839

Re: C++ Faults when a TChartListBox is used in a DLL.

I've submitted a new issue to our bugs database to keep this problem alive:

http://bugs.teechart.net/show_bug.cgi?id=522

Still can't identify the exact cause. I'd like to try to reproduce the problem without using any TChart module, just using the GDI+ units to check if the problem is there.
by David Berneda
Tue Dec 10, 2013 11:43 am
Forum: FMX
Topic: Drawing bitmap on Windows
Replies: 6
Views: 18813

Re: Drawing bitmap on Windows

There are several usages of ScanLine already in FireMonkey TTeeCanvas, of course. I've changed the example using scanline, same (ok) results, see below. TeeCanvas StretchDraw simply passes the bitmap to FireMonkey's DrawBitmap method, there is nothing changed: procedure TTeeCanvas3D.StretchDraw(cons...
by David Berneda
Tue Dec 03, 2013 2:30 pm
Forum: VCL
Topic: Can I only export active series to a text file.
Replies: 11
Views: 21402

Re: Can I only export active series to a text file.

A new property in TSeriesData class has been introduced to allow exporting only a selected list of Series. http://bugs.teechart.net/show_bug.cgi?id=243 This wish has been implemented, at the base class TSeriesData (TeeStore.pas unit), so all derived export format classes now have a new property (an ...
by David Berneda
Mon Dec 02, 2013 11:25 am
Forum: FMX
Topic: Drawing bitmap on Windows
Replies: 6
Views: 18813

Re: Drawing bitmap on Windows

Hi Atmapuri

Just did the attached test project and it looks fine to me (both with high and low stretch blending modes).

regards
david
by David Berneda
Fri Nov 29, 2013 5:09 pm
Forum: VCL
Topic: C++ Faults when a TChartListBox is used in a DLL.
Replies: 43
Views: 81839

Re: C++ Faults when a TChartListBox is used in a DLL.

I've been doing more testing. I think I got it to work, but the solution is not yet clear to me. What I did was to include the Delphi units to the exe project (VCLTee.Chart, VCLTee.TeeProcs, VCLTee.TeEngine) and then build it. What might happen I guess is the units get compiled to *.obj in a differe...
by David Berneda
Fri Nov 22, 2013 4:52 pm
Forum: VCL
Topic: C++ Faults when a TChartListBox is used in a DLL.
Replies: 43
Views: 81839

Re: C++ Faults when a TChartListBox is used in a DLL.

>>It appears that you have some type of code that is either new or left over that deals specifically with a DLL file. You're right. I was wrong. It happens the TChartListBox unit uses other units that in the end they are using the GDIPAPI. Yes, I can reproduce the exception with your test case. I'm ...
by David Berneda
Fri Nov 22, 2013 2:55 pm
Forum: VCL
Topic: C++ Faults when a TChartListBox is used in a DLL.
Replies: 43
Views: 81839

Re: C++ Faults when a TChartListBox is used in a DLL.

There's one thing you can try just to see if the exception is not raised. First, set any chart to *not* use GDI+ canvas (chart editor dialog -> 3D -> Render -> GDI) Then, change this registry value to be an empty blank string: HKEY_CURRENT_USER\Software\Steema Software\TeeChart Pro\Editor -> Default...
by David Berneda
Wed Oct 30, 2013 2:30 pm
Forum: VCL
Topic: Memory leek using GDI instead of GDI+
Replies: 1
Views: 6262

Re: Memory leek using GDI instead of GDI+

This problem is already fixed (InternalCanvas.Free), and will be included in next update. btw: If you apply the changes at "...\TeeChart Sources\VCL" folder, changes are lost because TeeRecompile tool recreates this folder. The "original" source unit that can be modified are one level up, at "..\Tee...
by David Berneda
Mon Oct 21, 2013 10:22 am
Forum: VCL
Topic: color or hide each line segment separately
Replies: 11
Views: 22581

Re: color or hide each line segment separately

Another solution that might work without modifying TlineSeries source code is:

Code: Select all

procedure TMyLineSeries.DrawValue(ValueIndex:Integer);
begin
  FDrawLine:=DrawSegment[ValueIndex];
  inherited;
  FDrawLine:=True;
end;
regards
david