We have:
- menuEnable https://community.bistudio.com/wiki/menuEnable
- menuEnabled https://community.bistudio.com/wiki/menuEnabled
We are missing:
- menuDisable
We have:
We are missing:
The repro contains a custom menu strip class. The default control present in Arma 3 does not work since class Default and class Separator are not defined within class Items.
private _display = findDisplay 313 createDisplay "DisplaySimulated"; private _ctrlMenuStrip = _display ctrlCreate ["R3vo_MenuStrip", 1337]; private _index = _ctrlMenuStrip menuAdd [[], "Help"]; _ctrlMenuStrip menuAdd [[_index], "Documentation"]; _ctrlMenuStrip menuAdd [[_index], "Separator"]; //Would be neat if when passing a special string to menuAdd it would turn the entry into a separator _ctrlMenuStrip menuAdd [[_index], "Exit"]; _ctrlMenuStrip menuEnable [0, 0]; //Documentation entry
*Also, for a Separator be properly displayed via config. The class Separator needs to be defined in config. See https://community.bistudio.com/wiki/CT_MENU_STRIP#Items