CAPL Script

ClockControlStop

Syntax

void ClockControlStop(char[] panel, char[] control);

Function

Stops the Clock Control designed as stop watch with thePanel Designer(settingMode = StopWatch). The displayed time stays unchanged unless the userstartsthe stop watch again orresetsit. If the stop watch is started again without resetting it, the start time is the current displayed time (not zero). The panel is accessed by its individual panel name that is entered in thePanel Designer.

Parameters

panel Panel name, restricted to 128 characters."" – references allloaded panelsIf you open a panel the first time, the panel is loaded.
If you close the panel, it remains loaded.

control

  • Symbol assignment is not case sensitive.
  • If you want to access all elements of a panel the notation "" is used, see example below.

Return Values

// Stop the clock control designed as stop watch.on key 'a'{ClockControlStop("ClockControl", "StoppWatch");}

[ClockControlStart](/en/syntax/general/misc/clockcontrolstart) | [ClockControlReset](/en/syntax/general/misc/clockcontrolreset) | [SetClockControlTime](/en/syntax/general/time/setclockcontroltime)