## The `minsize' property

Two-element numeric vector

Valid for: All displayable controls, but usually used for window-level objects (Form, Dialog, Document, Window). Under MacOS, valid only for window-level objects.

When you create a resizable window, you may want to limit the minimum size to which the user can shrink it. Typically, this is to ensure that buttons and other controls are still usable. The `minsize` property allows you to define the lower limit. The first element is the minimum height, and the second is the minimum width, in the current `scale` of the object. A value of 0 means no constraint.

See also the `maxsize` property.

Topic: APLX Help : System Classes : Properties : minsize

[ Previous | Next | Contents | Index ]