Type | Description | |||
X as Long | (By Reference) A single that specifies the current X location of the mouse pointer. The x values is always expressed in screen coordinates. | |||
Y as Long | (By Reference) A single that specifies the current Y location of the mouse pointer. The y values is always expressed in screen coordinates |
The Move event occurs when the control's position is changed. The Move event is called every time when the container is moved or resized. The X and Y coordinates define the control's position not the container position. The control is moved while the container is moved if the control is anchored to one of the container edges. To anchor the control to container edges use the HAnchor and VAnchor properties.
Syntax for Move event, /NET version, on:
private void Move(object sender,ref int X,ref int Y) { } Private Sub Move(ByVal sender As System.Object,ByRef X As Integer,ByRef Y As Integer) Handles Move End Sub |
private void Move(object sender, AxEXDIALOGLib._IDialogEvents_MoveEvent e) { } void OnMove(long FAR* X,long FAR* Y) { } void __fastcall Move(TObject *Sender,long * X,long * Y) { } procedure Move(ASender: TObject; var X : Integer;var Y : Integer); begin end; procedure Move(sender: System.Object; e: AxEXDIALOGLib._IDialogEvents_MoveEvent); begin end; begin event Move(long X,long Y) end event Move Private Sub Move(ByVal sender As System.Object, ByVal e As AxEXDIALOGLib._IDialogEvents_MoveEvent) Handles Move End Sub Private Sub Move(X As Long,Y As Long) End Sub Private Sub Move(X As Long,Y As Long) End Sub LPARAMETERS X,Y PROCEDURE OnMove(oDialog,X,Y) RETURN |
<SCRIPT EVENT="Move(X,Y)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function Move(X,Y) End Function </SCRIPT> Procedure OnComMove Integer llX Integer llY Forward Send OnComMove llX llY End_Procedure METHOD OCX_Move(X,Y) CLASS MainDialog RETURN NIL void onEvent_Move(COMVariant /*long*/ _X,COMVariant /*long*/ _Y) { } function Move as v (X as N,Y as N) end function function nativeObject_Move(X,Y) return |