Version

Resize Method (UltraStatusBarTestObject)

The Resize method will resize a Panel object.
Syntax
'Declaration
 
Public Sub Resize( _
   ByVal item As Rational.Test.Ft.Script.Subitem, _
   ByVal width As Integer, _
   ByVal height As Integer _
) 
public void Resize( 
   Rational.Test.Ft.Script.Subitem item,
   int width,
   int height
)

Parameters

item
The (Text | Name | Position | Index) Subitem that represents the Panel object that will be resized.
width
The new width of the Panel.
height
Not used by this control.
Exceptions
ExceptionDescription
Rational.Test.Ft.BadArgumentExceptionThrown if there are no Panels in the StatusBar.
Rational.Test.Ft.ObjectNotFoundExceptionThrown if the Panel cannot be found.
Rational.Test.Ft.UnableToPerformActionExceptionThrown if the Panel is not resizable.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also