The width in pixels.
The height in pixels.
Whether or not to do a "lazy" resize. If true then sizing calculations will not be performed if the size has not changed. The default is false.
Whether or not to fire the onSize event. The default value is true.
Set the panel to a specific size.
This method is used automatically when the size of the panel is bound to "self", "parent" or "window". The set size method can be used programmatically to set the size of a panel when the panel's size in not bound.
// assume pObj is a pointer to a panel class pObj.setSize(200,400,true,true); // size the panel to 200 pixels wide by 400 pixels tall, don't set the size if it is already that size, and fire the resize event.