Windows
The DefaultSize property changes the size of the current window to the default size specified on the Size page of the Design Options dialog box in the Window painter.
To change the size of the current window to the
default:
Select the DefaultSize check box on the General page of the window’s Properties view.
You specify the default size for all main windows on the Size page of the Design Options dialog box. You can select the defaults for Portrait or Landscape orientation or specify a custom width and height.
All new windows are created as main windows with the width and height you specify in the Design Options dialog box and the DefaultSize check box selected. If you change the window type to Response, the DefaultSize check box is cleared and the size of the window changes to a size suitable for response windows.
If you change the size of a window on the Other property page, the DefaultSize check box is not cleared. To return to the default size, clear the check box then reselect it.
This property cannot be set in a script.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |