I have a C1FlexGrid control that is filled with a number of rows and columns.
How can I ask the control what is the "Full Size" for it (in pixels)?
By Full Size I mean, the .Size property value that I should set it with,
so all of its cells will be displayed, without needing any scrollbars/scrolling by the user.
OK I don't know if they created a special property for it,
but I managed to do it by asking the control for the .Bottom
of the last row, and the .Right
of the last column:
C1FG.Height =C1FG.Rows[C1FG.Rows.Count-1].Bottom+2;
C1FG.Width =C1FG.Cols[C1FG.Cols.Count-1].Right +2;
And it works.