Try OpenEdge Now
skip to main content
GUI for .NET Programming
Creating and Using Forms and Controls : OpenEdge .NET form and control objects : Commonly-used .NET public control methods, properties, and events : Common .NET public control events
 
Common .NET public control events
The following table shows some of the more common .NET public control events.
Table 8. Common .NET public control events
Event
Description
Click
Raised when the control or control container is clicked.
Note: This is a higher-level event than a MouseClick event and is raised for other actions, such as pressing the Enter key when the control has focus.
DoubleClick
Raised when the control or control container is double-clicked.
EnabledChanged
Raised when the Enabled property value of the control or control container has changed (see Table 7).
Enter
Raised when the control or control container receives focus from any of several different actions.
Note: This is the first of several events raised in a particular order, depending on how focus is change to the control.
Move
Raised when the control or control container is moved.
Paint
Raised when the control or control container is redrawn. This occurs for a number of different actions, such as resizing and moving other controls over this control. This event is especially useful for maintaining graphics that you draw for a control as its position and screen environment changes.
Note: Use cautiously, and only when necessary, as it can impact performance.
TextChanged
Raised when the Text property of the control or control container changes value.
VisibleChanged
Raised when the Visible property of the control or control container changes value.