buttonAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 14: Line 14:
'''Description:'''
'''Description:'''


Return action assigned to control with id '''idc''' of topmost user dialog.
Return action assigned to control with id '''idc''' of topmost user [[dialog]].


Action is any expression in this scripting language.
Action is any expression in this scripting language.

Revision as of 16:28, 15 April 2006

back to COMREF

buttonAction idc


Operand types:

idc: Number

Type of returned value:

String

Description:

Return action assigned to control with id idc of topmost user dialog.

Action is any expression in this scripting language.

Can be used for buttons and active texts.


Example:

_action = buttonAction 100