GetBestHeight

Description

Gets the height of the RibbonBar control which is automatically adjusted to best fit the content (when AutosizeHeight is enabled).

Applies to

RibbonBar controls

Syntax

controlname.GetBestHeight ( )

Return value

Integer.

Returns the height of the RibbonBar control, in PowerBuilder units. If any argument's value is null, returns null.

Examples

Integer li_Height
li_Height = rbb_1.GetBestHeight()