Hi,
I'm adding comments into a TTMSFMXGrid's cells. The comment's text appears trimmed. Does somebody know if it's possible to set the width of the comment popup ?
Thank you in advance.
Hi,
You can use the following code to set the width of the comment popup:
procedure TForm1.TMSFMXGrid1GetCellProperties(Sender: TObject; ACol,
ARow: Integer; Cell: TFmxObject);
begin
if Cell is TTMSFMXCommentGridCell then
(Cell as TTMSFMXCommentGridCell).CommentPanel.Width := 200;
end;
Kind Regards,
Pieter