BBjSysGui::setRepaintEnabled
Description
In BBj 7.00 and higher, this BBjSysGui method controls whether program action (such as adding controls or setting attributes of controls) will cause a repaint on the client display.
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 client display to be repainted. Calling setRepaintEnabled(1) will cause the client display to be repainted and all modifications to the display that have been made since calling setRepaintEnabled(0) will appear on the client display.
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.