Search found 17 matches

by TheOtherPrefontaine
Fri Nov 17, 2023 6:15 am
Forum: VCL / FMX
Topic: TeeGrid OnTap
Replies: 14
Views: 69530

Re: TeeGrid OnTap

I've attached a small screen shot. You can see the selected row, and also a light blue rectangle around the cell I just tapped on. So teegrid knows I tapped there since it painted the light blue rectangle, but its just not moving the selection. Hope this provides a clue to what's happening. I really...
by TheOtherPrefontaine
Mon Nov 13, 2023 11:45 am
Forum: VCL / FMX
Topic: TeeGrid OnTap
Replies: 14
Views: 69530

Re: TeeGrid OnTap

Amy ideas on this?
by TheOtherPrefontaine
Fri Oct 27, 2023 3:15 am
Forum: VCL / FMX
Topic: TeeGrid Swipe?
Replies: 2
Views: 31533

Re: TeeGrid Swipe?

That's good to hear!
by TheOtherPrefontaine
Fri Oct 27, 2023 3:15 am
Forum: VCL / FMX
Topic: TeeGrid OnTap
Replies: 14
Views: 69530

Re: TeeGrid OnTap

Hi Marc,

I'm using a Galaxy S10E.

-garry
by TheOtherPrefontaine
Tue Oct 17, 2023 1:57 pm
Forum: VCL / FMX
Topic: TeeGrid OnTap
Replies: 14
Views: 69530

Re: TeeGrid OnTap

So is this a bug?
by TheOtherPrefontaine
Fri Oct 13, 2023 7:09 pm
Forum: VCL / FMX
Topic: TeeGrid OnTap
Replies: 14
Views: 69530

Re: TeeGrid OnTap

I should clarify what I am trying to do.

This is for mobile only. I would like the user to be able to tap on the row they want to move to, and the selected row/record becomes the one tapped on.

Any help you can offer is appreciated.
by TheOtherPrefontaine
Wed Oct 11, 2023 10:27 pm
Forum: VCL / FMX
Topic: TeeGrid OnTap
Replies: 14
Views: 69530

Re: TeeGrid OnTap

Unfortunately TeeGrid1.Rows.RowAt only works to row 7. Past that it returns -1, even though there are several rows past that.
by TheOtherPrefontaine
Wed Oct 11, 2023 8:07 pm
Forum: VCL / FMX
Topic: TeeGrid Swipe?
Replies: 2
Views: 31533

TeeGrid Swipe?

Any way to swipe the grid so as to move to the next columns? Swipe left, see later columns, swipe right see earlier columns?
by TheOtherPrefontaine
Tue Oct 10, 2023 2:07 am
Forum: VCL / FMX
Topic: TeeGrid OnTap
Replies: 14
Views: 69530

Re: TeeGrid OnTap

This worked very well: procedure TFudleyMain.TeeGrid1Tap(Sender: TObject; const Point: TPointF); var myRow : Integer; myX, myY: single; hgt : single; begin myX := point.X; myY := point.Y; hgt := TeeGrid1.Height; myRow := TeeGrid1.Rows.RowAt(myY,hgt); TeeGrid1.Selected.Row :=myRow; end;
by TheOtherPrefontaine
Mon Oct 09, 2023 11:38 pm
Forum: VCL / FMX
Topic: TeeGrid show graphic in column?
Replies: 2
Views: 27163

Re: TeeGrid show graphic in column?

Again, my thanks.

The week is off to a start. I already miss the weekend.
by TheOtherPrefontaine
Mon Oct 09, 2023 11:37 pm
Forum: VCL / FMX
Topic: TeeGrid OnTap
Replies: 14
Views: 69530

Re: TeeGrid OnTap

Thanks mcuh! I'll try it out tonight.
by TheOtherPrefontaine
Sun Oct 08, 2023 12:54 am
Forum: VCL / FMX
Topic: TeeGrid OnTap
Replies: 14
Views: 69530

Re: TeeGrid OnTap

Really would like a reply to this. It has me stumped.
by TheOtherPrefontaine
Tue Sep 26, 2023 7:10 pm
Forum: VCL / FMX
Topic: TeeGrid show graphic in column?
Replies: 2
Views: 27163

TeeGrid show graphic in column?

I have a small image of rating stars I want to show in the first column, rather than the numeric rating of 1 to 5.
stars.png
stars.png (56.46 KiB) Viewed 27163 times
I can extract the needed rectangle easily enough, but how do I draw it onto the grid column?
by TheOtherPrefontaine
Mon Sep 25, 2023 1:16 am
Forum: VCL / FMX
Topic: TeeGrid OnTap
Replies: 14
Views: 69530

TeeGrid OnTap

How can I work with the const Point: TPointF to determine the row that was tapped?

I am trying to change the selected row when the user taps the grid.

TIA
by TheOtherPrefontaine
Fri Sep 22, 2023 2:32 am
Forum: VCL / FMX
Topic: Color Problem
Replies: 3
Views: 28105

Re: Color Problem

This exact bug was in the aggpas delphi port.