AGI STK X 11Send comments on this topic.
Click Event (AgUiAxVOCntrl)
See Also
Windows






Windows & Linux

Description

Occurs when the user presses and then releases a mouse button over the control.

Syntax

[Visual Basic .NET]
Public Event Click()
[C#]
public void Click();
[Managed C++]
public: void Click();
[Java]
public void click();
[Unmanaged C++]
public: void Click();

Remarks

Typically, you attach a Click event procedure to the control to carry out commands and command-like actions.

Clicking the Globe control generates MouseDown and MouseUp events in addition to the Click event. These three events occur in this order: MouseDown, MouseUp, and Click. When you're attaching event procedures for these related events, be sure that their actions don't conflict.

Notes:

  • To distinguish between the left, right, and middle mouse buttons, use the MouseDown and MouseUp events.
  • If you need the current location of the mouse pointer, use the MouseDown and MouseUp events.

 

In VB.NET the Click event is shown as  "xxxxxxxx_ClickEvent" in the IDE.

See Also

Example

[Visual Basic .NET]
Private Sub AxAgUiAxVOCntrl1_ClickEvent( _
ByVal sender As Object, _
ByVal e As System.EventArgs) _
Handles AxAgUiAxVOCntrl1.ClickEvent

' Globe control clicked
...

End Sub
© 2019 Analytical Graphics, Inc. All Rights Reserved.