MoveAlignedControl Method
Description
Moves and resizes a control to a specified location within its container.
Syntax
Public Sub MoveAlignedControl( _
ByVal Control As Object, _
ByRef Left As Long, _
ByRef Top As Long, _
ByRef Right As Long, _
ByRef Bottom As Long _
)
Parameters
- Control: Name of the control to be moved.
- Left: The space between the left side of the control and the left side of the container of the control.
- Top: The space between the top of the control and the top of the container of the control.
- Right: The space between the right side of the control and the right side of the container of the control.
- Bottom: The space between the bottom of the control and the bottom of the container of the control.
Remarks
This method is used to move a control, such as a picture box on a MDIForm.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.