Common .NET public control events
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Common .NET public control events
The following table shows some of the more 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 1). |
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. |