Home Notices Documents Classes Download Others Rice
Classes  >  canceleventargs  >  EventType
canceleventargs class : EventType getter

Description

Gets a value indicating the type of event.

Syntax

canceleventargsInstance.EventType

Arguments

None

Return value

ClassDescription
intA value indicating the type of event.

Sample code

1:

open method void anyWindowClosingHandler(canceleventargs cea)

2:

...

3:

int eventType = cea.EventType;

4:

...

5:

endmethod

Notes

This getter was added in CookerGX Ver 1.0.0.1.

This getter returns 1003 for the closing event of the window class.

The canceleventargs will only appear as an argument of the window closing event handler.

Links for reference

None.

Copyright © Rice All rights reserved.