Trigger Method


Triggers a cControl_EventHandler class event.

Syntax

object.Trigger(EventName)

object A reference to a cControl_EventHandler class instance.

Parameters

Name Required / Optional Data Type Description
EventName Required String Name of event to trigger (e.g., "OnClick", "AfterUpdate", "OnChange", etc.)

Example

This example triggers an event handler's OnClick event.

myControlEventHandler.Trigger "OnClick"

Last edited Dec 20, 2010 at 12:45 AM by vba_junkie, version 1

Comments

No comments yet.