This method/property/event is considered obsolete and is functional only if the Level of integration of panel viewer and the local application configurator is set to full - FULL access from scripts to the whole application (only for VBScript value and if the Enable multiple opening of local panel configurator IS NOT SET.
|pMe||(Object) Reference to the PROMOTIC object where the event rises.|
|pEvent||(Object) A referrence to object describing detailed information about the specific event.|
pEvent.Action - (Long) Indication of pressing or releasing the button.
0 - releasing the button
1 - pressing the button
2 - double-clicking the left mouse button
pEvent.Shift - (Boolean) Indication of concurrent pressing the Shift key.
pEvent.Alt - (Boolean) Indication of concurrent pressing the Alt key.
pEvent.X - (Long) Position of the mouse cursor in the X-coordinate relatively to the left upper corner of the item (in pixels).
If pEvent.Action = 0 Then
' do something if the mouse button is released
If pEvent.Ctrl Then
' if moreover the Ctrl key has been pressed, do even something more