EnableEventByRef

Purpose

This function marks an event as enabled.  All triggers are active.

Parameters

Parameter: evref
Type: long (.NET Integer)
Description: This is the event reference ID of the event to enable.

Returns

None.

Example

sub main()

dim eref

eref = hs.GetEventRefByName("My Event")
hs.EnableEventByRef eref

end sub