## 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

    siPPGEventID.siGridDataEvent                                                // 6

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.
siGridDataEvent | 6 | A GridData event has been triggered. Depending on the event, the following callbacks will be invoked: _OnBeginValueChange and _OnEndValueChange _OnBeginSelectionChange and _OnEndSelectionChange _OnButtonClicked _OnHeaderDoubleClick _OnContextMenuInit and _OnContextMenuSelected

### Applies To

PPGEventContext.EventID PPGEventContext::GetEventID