Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Moves a specified control to the control.
Syntax
public int moveControl(int controlId, [int insertAfterId])
Run On
Called
Parameters
- controlId
Type: int
An integer value that indicates the ID of the control to move.
- insertAfterId
Type: int
An integer value that indicates the ID of the control to insert the control after; optional.
Return Value
Type: int
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.