Partilhar via


FormBuildMenuButtonControl.moveControl Method

Definition

Overloads

moveControl(Int32, Int32)
moveControl(Int32)

Moves a specified control to the control.

moveControl(Int32, Int32)

public:
 override int moveControl(int _controlId, int _insertAfterControlId);
public override int moveControl (int _controlId, int _insertAfterControlId);
override this.moveControl : int * int -> int
Public Overrides Function moveControl (_controlId As Integer, _insertAfterControlId As Integer) As Integer

Parameters

_controlId
Int32
_insertAfterControlId
Int32

Returns

Applies to

moveControl(Int32)

Moves a specified control to the control.

public:
 override int moveControl(int num1);
public override int moveControl (int num1);
override this.moveControl : int -> int
Public Overrides 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