BBjWindow::setRepaintEnabled
Description
In BBj 16.00 and higher, this BBjWindow method controls whether program action (such as adding controls or setting attributes of controls) will cause a repaint on the window.
Syntax
Return Value | Method |
---|---|
void | setRepaintEnabled(boolean enabled) |
Parameters
Parameter | Description |
---|---|
enabled | Specifies whether repaints should be enabled. By default, enabled is true (1).
|
Return Value
None.
Remarks
After setRepaintEnabled(0) has been called, adding controls or modifying controls will not cause the window to be repainted. Calling setRepaintEnabled(1) will cause the window to be repainted and all modifications to the window that have been made since calling setRepaintEnabled(0) will appear.
Certain major structural changes to the window always force an immediate repaint.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.