FormBuildControl.moveControl Method

Definition

Overloads

moveControl(Int32)

Moves a specified control to the control.

moveControl(Int32, Int32)

moveControl(Int32)

Moves a specified control to the control.

public:
 virtual int moveControl(int num1);
public virtual int moveControl (int num1);
abstract member moveControl : int -> int
override this.moveControl : int -> int
Public Overridable Function moveControl (num1 As Integer) As Integer

Parameters

num1
Int32

Returns

1 if the control was moved successfully; otherwise, 0.

Remarks

In general, if the specified control can be contained in the control and can be moved from the container that it is currently in, this method should succeed. However, in some cases, such as for the reference group control instance, controls cannot be moved.

Applies to

moveControl(Int32, Int32)

public:
 virtual int moveControl(int _controlId, int _insertAfterId);
public virtual int moveControl (int _controlId, int _insertAfterId);
abstract member moveControl : int * int -> int
override this.moveControl : int * int -> int
Public Overridable Function moveControl (_controlId As Integer, _insertAfterId As Integer) As Integer

Parameters

_controlId
Int32

An integer value that indicates the ID of the control to insert the control after; optional.

_insertAfterId
Int32

An integer value that indicates the ID of the control to insert the control after; optional.

Returns

Applies to