sleep class : Freeze(int) method

Description

Waits during the specified time with freeze.

Syntax

instance.Freeze(int span)

Arguments

ClassNameDescription
intspanTime span.

Return value

None.

Sample code

1:

sleep sp = new sleep();

2:

sp.Freeze(100); // It waits 100ms.

Notes

The unit is milliseconds.

Using this method in the following event handler freezes the application.

browser class : LoadStart event

window class : Closing event

It has been fixed in Cooker ver 3.0.3.

Links for reference

None.

Copyright © Cooker All rights reserved.