## siPPGEventID

### Introduced

v6.0

### Description

Defines the possible actions that trigger calling the PPGEvent callback function.

### C# Syntax

    siPPGEventID.siUndefinedPPGEvent                                            // 0
    siPPGEventID.siOnInit                                                       // 1
    siPPGEventID.siOnClosed                                                     // 2
    siPPGEventID.siParameterChange                                              // 3
    siPPGEventID.siButtonClicked                                                // 4
    siPPGEventID.siTabChange                                                    // 5

Constant | Value | Description
--- | --- | ---
siUndefinedPPGEvent | 0 | Unknown event.
siOnInit | 1 | PPG has just been drawn. The equivalent scripting callback is OnInit.
siOnClosed | 2 | PPG has just been closed. The equivalent scripting callback is OnClosed.
siParameterChange | 3 | Value of a Parameter has changed. The equivalent scripting callback is OnChanged.
siButtonClicked | 4 | The user clicked a button. The equivalent scripting callback is OnClicked.
siTabChange | 5 | User changed tabs on a multi-tab PPG. The equivalent scripting callback is OnTab.

### Applies To

PPGEventContext.EventID PPGEventContext::GetEventID