VLFormDesigner Reference

Read/Write PropertyAlignToGrid

See Also See Also Applies To Applies To

Set or returns the value that decides if resized or moved controls should automatically be aligned to the grid.

 

Syntax

object.AlignToGrid[=boolean]

 

The AlignToGrid property syntax has these parts:

Part Description
Object An object expression that evaluates to VLFormDesigner
boolean A boolean expression that specifies if a control being resized or moved should automatically be aligned to the grid.

 

Setting

The settings for boolean are:

Setting Description
True (Default) Controls being resized or moved will automatically be aligned to the grid.
False Controls being resized or moved will not be automatically aligned to the grid.

 

Remark

Setting this property to true will allow the user to easily achieve control alignment in selection mode.