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

Description

Gets a value indicating the type of event.

Syntax

eventargsInstance.EventType

Arguments

None

Return value

ClassDescription
intA value indicating the type of event.

Sample code

1:

open method void anyHandler(eventargs ea)

2:

...

3:

int eventType = ea.EventType;

4:

...

5:

endmethod

Notes

This getter was added in CookerGX Ver 1.0.0.1.

This getter returns 1001 for the Activated event of the window class.

This getter returns 1002 for the Deactivated event of the window class.

This getter returns 1004 for the Closed event of the window class.

This getter returns 1005 for the LocationChanged event of the window class.

This getter returns 2002 for the DomContentLoaded event of the browser class.

This getter returns 2003 for the Load event of the browser class.

Links for reference

None.

Copyright © Rice All rights reserved.