I assume that means I SHOULD NOT create objects (TextBox,CommandButton) as children of a Frame.

code:
$FrameConnection = $Form.Frame("Workstation/IP/User ID", 10, 10, 255, 50)
$TextBoxName = $FrameConnection.TextBox(,5,20,175,25)
$TextBoxName.SetFocus
$ButtonConnect = $FrameConnection.CommandButton("Connect",$TextBoxName.Right + 5,20,65,25)
$ButtonConnect.OnClick = "ButtonConnect_Click()"
$ButtonDisconnect = $FrameConnection.CommandButton("Disconnect",$TextBoxName.Right + 5,20,65,25)
$ButtonDisconnect.OnClick = "ButtonDisconnect_Click()"
$ButtonDisconnect.Hide

_________________________
Kelly