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
Set Dialog = CreateObject("TPFSoftware.ScriptDialog")
Dialog.SetBounds( "center", "center", 500, 500 )
Dialog.Sizeable = False
Set Result = Dialog.Execute
End Sub
|