Page 1 of 1

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

Posted: Tue Feb 04, 2020 11:45 am
by 8753501
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.

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

Posted: Fri Apr 10, 2020 6:53 pm
by 18688345
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.