TeeGrid for VCL/FMX [04 FEB 2020] RELEASE 1.09

TeeGrid VCL / FMX for Embarcadero RAD Studio, Delphi, C++ Builder and Lazarus Free Pascal.
Post Reply
Gemma
Advanced
Posts: 263
Joined: Thu Feb 03, 2011 12:00 am

TeeGrid for VCL/FMX [04 FEB 2020] RELEASE 1.09

Post by Gemma » Tue Feb 04, 2020 11:45 am

Greetings!

Steema Support Central writes to inform you of the availability of the latest TeeGrid for VCL/FMX 1.09 release.

This new build adds support for RAD Studio 10.3 Rio (RX/DX/CX) Update 3 and includes some changes and bug fixes that you can check at the product release notes.

Active subscribers can download this new release at no-charge from the customer download page.

If you'd like to try-out the new release you can follow this link to download the fully functional evaluation version.

More information about the TeeGrid component, visit the product pages.
Best Regards,
Gemma Gibert
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
Instructions - How to post in this forum

msvar
Newbie
Newbie
Posts: 1
Joined: Mon Mar 23, 2020 12:00 am

Re: TeeGrid for VCL/FMX [04 FEB 2020] RELEASE 1.09

Post by msvar » Fri Apr 10, 2020 6:53 pm

v1.09 TeeGrid won't compile under Lazarus v2.0.6 because of VCLTee.Control unit procedure TFilterComboBox.FilterItems.

1. TSelection Class doesn't exist in Lazarus so I replaced it with var StartPos, EndPos: Integer; instead.
2. ContainsText function doesn't exist in Lazarus had to add this in as a subfunction

Code: Select all

function ContainsText(const AText, ASubText: string): Boolean; 
begin
  Result := Pos(UpCase(ASubText), UpCase(AText)) > 0;
end;  
3. Had to replace SendMessage(Handle, CB_GETEDITSEL, WPARAM(@Selection.StartPos), LPARAM(@Selection.EndPos)); with SendMessage(Handle, CB_GETEDITSEL, WPARAM(@StartPos), LPARAM(@EndPos));

4. Had to replace SendMessage(Handle, CB_SETEDITSEL, 0, MakeLParam(Selection.StartPos, Selection.EndPos)); with SendMessage(Handle, CB_SETEDITSEL, 0, MakeLParam(StartPos, EndPos));

After I've made these changes I was able to compile and install TeeGrid v1.09 in Lazarus v2.0.6.

I am not a professional programmer just do it for fun for myself, if anyone has a better suggestion/solution to "fix" this let me know.

Post Reply