Home News DOC Class DL Others Rice
Class  >  sleep  >  Freeze(int)
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 entire application while waiting.

browser class : LoadStart event

window class : Closing event

Links for reference

None.

Copyright © Rice All rights reserved.