ClickSpin

Windows management function.

The ClickSpin function simulates a click on a spin control.

Syntax

ClickSpin(<spin_name>,<number>)
or
Ret=ClickSpin(<spin_name>,<number>)

Parameters

<spin_name>, string, name of the spin control.

<number>, numeric, number of times WinTask must click on the spin arrow in order to decrement or increment the spin control.

Return value

Ret, numeric return code. When successful, the function returns 0, otherwise use this return code for error management.

Example

 

ClickSpin("spin1",-2)