System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,įMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Objects, FMX.Grid, Any help appreciated as this one is a basic requirement of any grid work. The code below shows that it is a simple TGrid, with 2 cols, 1 the standard StringColumn and 1 my new StringColNum (wuth right alignment applied). The only way to get the grid back in line is do a column resize for example - which then redraws correctly? It could be a bug/feature of the Grid (or the way I am doing it). the new TColumn type column does not appear to refresh correctly using the method/code below. The problem is however that although at first it looks OK, if you scroll the bar/mouse wheel etc. ![]() ![]() The values are provided by the OnGetValue function to the Grid control. From other users postings, I have managed to create a new TColumn type, apply a style to this (text as HorzAlign=taTrailing) and in theory - thought that this would be solution. I am using the FireMonkey Grid control but have an on-going issue in trying to right align a column.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |