|
ds_SetMenuInfos |
|---|
| ds_SetMenuInfos (menuBarNum; menuRange; menuTitle; labels; methods) <- errorCode | |||
|---|---|---|---|
| Parameter | Type | Description | |
| -> | menuBarNum | Long Integer | menubar range |
| -> | menuRange | Long Integer | Menu range |
| -> | MenuTitle | Text | New menu title ("" = do not modify) |
| -> | labels | Text Array | Labels |
| -> | methods | Text Array | Methods |
| <- | errorCode | Long Integer | Error Code (0 = no error) |
Modify information of the menu number menuRange is the menu bar number menuBarNum.
IMPORTANT NOTICE: Labels and methods must be synchronised and be exactly of the same size as the originals. It is not possible, with this routine, to increase or to decrease the number of items in the menu.