DlgBillboard.GetCurrentImage

number DlgBillboard.GetCurrentImage ( 

number ControlID )

Description

Returns the index of the current image in a billboard control.

Parameters

ControlID

(number) The numeric ID of the billboard control.

Returns

(number) The 1-based index of the current image in the billboard control. If an error occurs, or there are no images in the control, -1 is returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions