Sizeable Property

Property that allows you to get or set whether users can resize the dialog box.

object.Sizeable = new_sizeable_state
existing_sizeable_state
= object.Sizeable

Arguments

object

Required.  A variable containing a dialog object created by calling CreateObject or new ActiveXControl.

new_sizeable_state

Required. True if the user can resize the dialog box; False if the user cannot resize the dialog box.

existing_sizeable_state

Required. True if the user can resize the dialog box; False if the user cannot resize the dialog box.

Remarks
If you set Sizeable to False, make sure your dialog box is large enough to display its contents.

Example

Sub main
  ' Create the dialog box
  Set Dialog = CreateObject("TPFSoftware.ScriptDialog")


 ' Set the dialog box size  Dialog.SetBounds( "center", "center", 500, 500 )
 ' Keep users from resizing the dialog box  Dialog.Sizeable = False
 ' Display the dialog box
  Set Result = Dialog.Execute
End Sub