Frequently Asked Component Specific Questions
Options |
|
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>

TMS FMX UI PackTTMSFMXGrid: How to get access to a ProgressBar object inside a cell
You can access each cell and its properties in the OnGetCellProperties event:
procedure TForm1.TMSFMXGrid1GetCellProperties(Sender: TObject; ACol,
ARow: Integer; Cell: TFmxObject);
var
p: TTMSFMXProgressBar;
begin
if Cell is TTMSFMXProgressGridCell then
begin
p := (Cell as TTMSFMXProgressGridCell).ProgressBar;
p.ShowText := False;
end;
end;