Skip to main content
Skip table of contents

DisableEventByRef

Purpose

This function marks an event as disabled.  All triggers are suspended until the event is re-enabled.


Parameters

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


Returns

None


Example

Sample Code

VB
sub main()

	dim eref

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

end sub


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.