FormBuildReferenceGroupControl.moveControl Method
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.
moveControl(Int32) |
Moves a specified control to the control. |
moveControl(Int32, 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
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