Skip to content

peResizeColumn - EntryList

Determines the method used for resizing columns

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer peResizeColumn
Access Type Syntax
Read Access: Get peResizeColumn to IntegerVariable
Write Access: Set peResizeColumn to IntegerVariable/Value

Description

peResizeColumn determines the method used for resizing columns. The following constants are supported:

Constant Meaning
rcNone No resizing of columns
rcLastColumn The last column is resized
rcAll All columns are proportionally resized
rcSelectedColumn Resize the column specified by the property piResizeColumn

You may choose to never automatically resize columns, always resize all columns on a ratio basis, or resize any selected column. Setting these properties have no effect on how columns are resized manually. If Resize_Column_State is true, you may manually resize any column by dragging the edge of a header with the mouse.

If you need to define more sophisticated header sizing strategies, you can augment the message DoAdjustGridWidths and write your own resizing routine.

Default is rcLastColumn.