SetMenuSize

Category: Objects / Menu
Since engine version: 4.9.1.0 GWE

Description

Changes the display size of an object menu so the specified number of menu entries will be displayed per line or column.

Syntax

bool SetMenuSize (int iCols, int iRows, object pMenuObj);

Parameters

iCols:
0-50: number of entries to be displayed per line
iRows:
0-50: number of entries to be displayed per column
pMenuObj:
[opt] Menu object for which to want to adjust menu size. Can be 0 if the menu is open for the calling object.
See also: AddMenuItem, CreateMenu, GetMenu, GetMenuSelection, SetMenuDecoration, SetMenuTextProgress
Sven2, Juni 2003