Visual Basic (Declaration) | |
---|---|
Public Overloads Sub SetBounds( _ ByVal x As Integer, _ ByVal y As Integer, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal specified As BoundsSpecified _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- x
- The new Left property value of the control.
- y
- The new Top property value of the control.
- width
- The new Width property value of the control.
- height
- The new Height property value of the control.
- specified
- A bitwise combination of the BoundsSpecified values. For any parameter not specified, the current value will be used.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family