Share via


FormGroupControl.mouseEnter Method

Is called when the user moves the mouse pointer into the control area.

Syntax

public void mouseEnter(
    int x, 
    int y, 
    int button, 
    boolean Ctrl, 
    boolean Shift)

Run On

Client

Parameters

  • x
    Type: int
    An integer value that specifies the x-coordinate of the mouse pointer. The coordinate is relative to the upper-left corner of the control.
  • y
    Type: int
    An integer value that specifies the y-coordinate of the mouse pointer. The coordinate is relative to the upper-left corner of the control.
  • button
    Type: int
    An integer value that specifies which mouse button is down.
  • Ctrl
    Type: boolean
    A Boolean value that specifies whether the CTRL key is down.
  • Shift
    Type: 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.

See Also

FormGroupControl Class

Methods on Form Controls