Documentation Topics
Function

PRVirconBtnSetToggleState()

Sets the given toggle button's state to either pressed (toggle is true) or unpressed (toggle is false.) Has no effect if the button isn't set as a toggle button. Does not trigger the button's script.


Declaration

PRVirconBtnSetToggleState(btnId, toggle)

Parameters

btnId

The button ID.

toggle

true to set the toggle button as pressed, false to set it as unpressed.

Return Value

n/a