Name
Choice.Rename -- rename an entry (V1.1)
Synopsis
moai.DoMethod(id, "Rename", pos, newname$)
Function
Rename the choice entry at the specified position to the name specified in newname$. The entry position is specified in the pos argument. This can be an absolute index position starting at 0 for the first entry or one of the following special values:

Active
Rename the active entry.

Note that on AmigaOS and compatibles this feature is only available on MUI 4.0 or higher.

Inputs
id
id of the choice object
pos
entry position as absolute number or special value (see above)
newname$
new name for choice entry

Show TOC