FormGroupControl.mouseEnter(Int32, Int32, Int32, Boolean, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Is called when the user moves the mouse pointer into the control area.
public:
override void mouseEnter(int _x, int _y, int _button, bool _Ctrl, bool _Shift);
public override void mouseEnter (int _x, int _y, int _button, bool _Ctrl, bool _Shift);
override this.mouseEnter : int * int * int * bool * bool -> unit
Public Overrides Sub mouseEnter (_x As Integer, _y As Integer, _button As Integer, _Ctrl As Boolean, _Shift As Boolean)
Parameters
- _x
- Int32
A Boolean value that specifies whether the SHIFT key is down.
- _y
- Int32
A Boolean value that specifies whether the SHIFT key is down.
- _button
- Int32
A Boolean value that specifies whether the SHIFT key is down.
- _Ctrl
- Boolean
A Boolean value that specifies whether the SHIFT key is down.
- _Shift
- Boolean
A Boolean value that specifies whether the SHIFT key is down.
Remarks
The following are the possible values for the button parameter.
1 | Left mouse button. |
2 | Middle mouse button. |
3 | Right mouse button. |
You can override this method in a form group control by right-clicking the Methods node below the control, clicking Override Method, and then clicking mouseEnter. For information about best practices for forms and code, see No Code in Forms.