AllowSizingLeft Property

Applies to:  SubClasser object, PowerForm control
See also:  AllowSizingRight, AllowSizingBottom, AllowSizingTop, Resizable Property, Property Index

Determines whether the subclassed window can be resized using the left-hand edge.

Read/Write at both design-time and run-time.

Type:

Boolean

Settings:

Value Meaning
True The form can be resized by dragging its left edge.
False The form cannot be resized by dragging its left edge.

Remarks:

Use this property for forms with sizable borders (BorderStyle 2 or 5) to obtain finer control over the way the form can be resized.  For instance, you may want to create a form which can be resized horizontally, but with a fixed height.  This property is ignored for windows with non-sizable borders.

Example:

The following statement assumes that there is a PowerForm control called PowerForm1 placed on the form, and when executed, will prevent the form from being resized by dragging the left edge.

PowerForm1.AllowSizingLeft = False

Further Examples:

SubForm - Continuous Forms View

 

 

Home

Copyright and Disclaimer