Chapter Contents

Previous

Next
Frame Class: _resize

Frame Class: _resize



Invoked when the frame is resized


Syntax
Details

Syntax

objectName._resize( );


Details

The _resize method is invoked automatically when the _resize method is enabled (see _enableResizeNotify) and the frame is resized. Many hosts allow windows to be resized by grabbing the window borders and moving them. The frame can also be resized via SCL functions, for example, WDEF.

To enable or disable the _resize method, use the _enableResizeNotify and _disableResizeNotify methods, respectively.

CAUTION:
Avoid infinite loop with _resize If the _resize method calls a method that causes you to resize again (for example, _resizeRegion), you can call the _resize method again. The result may be an infinite loop. To avoid this problem, use the _disableResizeNotify method before you call the method that causes you to resize again, and use _enableResizeNotify after you have called that method.  [cautionend]


Chapter Contents

Previous

Next

Top of Page

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