TTMSFNCDataGridCellControlPosition Enumeration
Nine-point placement grid specifying where a control is positioned when
ControlAlignisgcaNone.
API unit family: TMSFNCDataGridCell
Remarks
Default is gcpCenterRight. The text rectangle is reduced to leave room for the control, except for gcpCenterCenter, where the control is drawn over the text area. Set per cell with TTMSFNCCustomDataGrid.ControlPositions or TTMSFNCDataGridCellItemExtended.ControlPosition.
Members
| Name | Description |
|---|---|
gcpTopLeft |
Places the control at the top-left corner of the cell. |
gcpTopCenter |
Places the control at the top-center of the cell. |
gcpTopRight |
Places the control at the top-right corner of the cell. |
gcpCenterLeft |
Places the control at the center-left of the cell. |
gcpCenterCenter |
Places the control at the center of the cell. |
gcpCenterRight |
Places the control at the center-right of the cell (default). |
gcpBottomLeft |
Places the control at the bottom-left corner of the cell. |
gcpBottomCenter |
Places the control at the bottom-center of the cell. |
gcpBottomRight |
Places the control at the bottom-right corner of the cell. |