TeeGrid OnTap
-
- Newbie
- Posts: 28
- Joined: Tue Aug 22, 2023 12:00 am
Re: TeeGrid OnTap
This is still an issue with the latest version...
Re: TeeGrid OnTap
Hello ,
This is being re-checked. We'll put up a demo shortly that we can use as a common test-bed.
Regards,
Marc Meumann
This is being re-checked. We'll put up a demo shortly that we can use as a common test-bed.
Regards,
Marc Meumann
Steema Support
-
- Newbie
- Posts: 28
- Joined: Tue Aug 22, 2023 12:00 am
Re: TeeGrid OnTap
Thanks much !
Re: TeeGrid OnTap
Hello,
We'll follow up with the example project to highlight this, but my tests run here are giving better positioning results using the Mousedown event in the Android project than Tap.
Example:
Tap is working but empirical tests (so far) show the need to add a small vertical offset of 15 pixels for the vertical cells' demarcation line. Using RAD Studio 12.1, TeeGrid v1.18.
Regards,
Marc
We'll follow up with the example project to highlight this, but my tests run here are giving better positioning results using the Mousedown event in the Android project than Tap.
Example:
Code: Select all
procedure THeaderFooterForm.TeeGrid1MouseDown(Sender: TObject;
Button: TMouseButton; Shift: TShiftState; X, Y: Single);
var
myRow : Integer;
myX, myY: single;
hgt : single;
begin
myX := X;
myY := Y;
hgt := TeeGrid1.Height;
myRow := TeeGrid1.Rows.RowAt(myY,hgt);
TeeGrid1.Selected.Row :=myRow;
Label1.Text := IntToStr(TeeGrid1.Selected.Row);
end;
Regards,
Marc
Steema Support