Home Cooker Classes Others Rice
Classes  >  ceva  >  Cancel(bool)
ceva class : Cancel(bool) setter

Description

Sets a value indicating whether the event should be canceled.

Syntax

cevaInstance.Cancel = cancel

Arguments

ClassNameDescription
boolcancelA value indicating whether the event should be canceled.

Return value

None

Sample code

1:

open method void ClosingHandler(ceva ea)

2:

...

3:

ea.Cancel = true; // The closing of the application window will be cancel.

4:

...

5:

endmethod

Notes

When want to cancel the event, set true. When do not want to cancel, set false.

Default value is false.

Links for reference

None

Copyright © Rice All rights reserved.