Chapter Contents

Previous

Next
Frame Class: _setWindowSize

Frame Class: _setWindowSize



Assigns the window size of the frame


Syntax
Details

Syntax

objectName._setWindowSize( );
objectName._setWindowSize( startingRow );
objectName._setWindowSize( startingRow, startingColumn );
objectName._setWindowSize( startingRow, startingColumn, numberOfRows );
objectName._setWindowSize( startingRow, startingColumn, numberOfRows, numberOfColumns );
objectName._setWindowSize( startingRow, startingColumn, numberOfRows,numberOfColumns,sizingOption );


Details

This method is similar to the WDEF SCL function. If a missing value is passed for any of the window sizes, that particular size will not change.

To prevent window flashing, this method should be invoked from the _init method of the frame. After the _init method, the window size of the frame is already set and changing the window size causes a flash.

To change the sizing policy of a frame, you can pass missing values for all the window sizes and specify the new sizing policy. See the following example.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.