grandMA3 User Manual Publication

StopProgress(handle)

grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » StopProgress(handle)
Version 2.1

Description

The StopProgress Lua function removes a progress bar. A handle input argument defines which progress bar it removes. The progress bar must exist before it can be removed. Progress bars are created using the StartProgress function.

See the ProgressBar topic for more info regarding progress bars and links to other related functions.

Arguments

  • Handle:
    The handle for the progress bar to be stopped.

Return

This function does not return anything.

Example

This example stops the progress bar created using the example in the StartProgress topic (link above):

Lua
return function()
-- Stops and closes the progress bar with the matching handle
StopProgress(progressHandle)
end