Share via


FormMenuButtonControl.heightMode Method

Gets or sets a calculation mode for the height of the control.

Syntax

public int heightMode([int value])

Run On

Client

Parameters

  • value
    Type: int
    An integer value that indicates how control height is calculated; optional.

Return Value

Type: int
The calculation mode.

Remarks

Calculate the height according to the following table:

Mode

Height calculation

Exact

The exact height in pixels of the controls is used.

Auto

The height of the control is calculated automatically and the value parameter is ignored.

Column height

The layout of the form determines the height of the control.

The height of the control might change when the mode is set to auto or column height.

See Also

Reference

FormMenuButtonControl Class