Skip to content

AutoSize_Height_State - DfBaseFormList

Determines if grid's automatic height adjustment will be made

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

Syntax

Property Boolean AutoSize_Height_State
Access Type Syntax
Read Access: Get AutoSize_Height_State to BooleanVariable
Write Access: Set AutoSize_Height_State to BooleanVariable/Value

Description

When this property is set to true, the grid's pixel height will be adjusted to exactly fit the number of rows in the display area. This avoids the display of partial rows. If set to false, no automatic height adjustment will be made.

If you are using anchors and plan on resizing your grids, you should set this property to false, the default.

Prior to DF8, the default value was True. In DF8, this was changed to false to more transparently support anchor-based resizing

Default is false.