Table of Contents

TTMSFNCDataGridRenderer.OnCanSizeColumn Event

Fired while a column is being resized, allowing the application to constrain the new size.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

OnCanSizeColumn: TTMSFNCDataGridCanSizeColumnEvent;

Parameters

Name Description
Sender Renderer that fired the event.
AColumn Zero-based column index being resized.
ASize New column width in pixels. Adjust this value to constrain the size.
ACanSize Set to False to prevent resizing the column.