Questions tagged [tgrid]
37 questions
0
votes
2 answers
FMX.TGrid how to allow user to move columns without messing up the data
I made a very simple testproject in Delphi 10.2 using FMX.
The setup is simple :
TGrid that is binded to a TClientDataSet (done in the designer).
button that allows the user to open an XML file
This all works fine and the TGrid is populated…

GuidoG
- 11,359
- 6
- 44
- 79
0
votes
1 answer
Delphi Firemonkey TGrid usage
I'm attempting to use a TGrid in the Delphi Firemonkey GUI library and I'm falling pretty badly on my face here.
At this point in time, I have a TGrid in my form which three cells, a string cell, and 2 checkbox cells.
At current execution, the Grid…

Zulukas
- 1,180
- 1
- 15
- 35
0
votes
1 answer
Highlighting TGrid row in code
I have a custom TGrid control which I am trying to make it so when the mouse hovers over a row, that row is highlighted. Rows are automatically highlighted if I used the arrow keys to navigate the grid. However, I am not sure how to replicate this…

James Hogle
- 3,010
- 3
- 22
- 46
0
votes
2 answers
Setting a Firemonkey control OnMouseMove method
I have a custom control for which I am trying to define an OnMouseMoveFunction. Essentially, the control functions as a search bar, and is made up of an edit box with a child custom TGrid control for displaying results. I am handling several mouse…

James Hogle
- 3,010
- 3
- 22
- 46
0
votes
3 answers
How to change the colour of the stringgrid particular cell using Delphi XE7
I'm using Delphi XE7 for developing Android application. In that I have used TStringGrid component and then I have used
StringGrid.cells[0, 0] := 'Test'
And how can I change the Font colour of that particular cell which I have shown in the code.…

Work 2 Enjoy - Enjoy 2 Work
- 351
- 7
- 26
0
votes
1 answer
Firemonkey XE5 TGrid scrolling issue using formatted cells
I'm using Delphi XE5 and am trying to format a TGrid based on the contents of each cell. For numerics I'd like them right-aligned in the cell with negatives shown in red font. All other data should be left-aligned in the cell. The following code…

Ian Francis
- 181
- 1
- 1
- 9
0
votes
2 answers
Removing objects, disable horizontal scrolling on TGrid (Delphi XE5 + iPad)
Im currrently working on an iPad application which uses a TGrid with dynamic created content.
But it gives me some problems:
For some reason, i cant free and release objects added to the TGrid (Removing them again). In Windows, FreeAndNil solves…

Ronni Simonsen
- 3
- 1