Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Menu.SetMinimumWidth

Set the minimum width of the menu.

Component Version macOS Windows Linux Server iOS SDK
Menu 4.1 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "Menu.SetMinimumWidth"; menu; width )   More

Parameters

Parameter Description Example
menu The reference to the menu. Please create one with Menu.CreateMenu. $menu
width The minimum width of the menu in screen coordinates. 0

Result

Returns OK or error.

Description

Set the minimum width of the menu.
The menu will not draw smaller than its minimum width, but may draw larger if it needs more space. The default value is 0.
See also Menu.GetMinimumWidth.

See also

This function is free to use.

Created 18th August 2014, last changed 18th August 2014


Menu.SetEvaluate - Menu.SetScriptAction