setEnabled | | | Enable or disable control |
Return | void | | |
enable | bool | No | True to enable |
setVisible | | | Show or hide control |
Return | void | | |
show | bool | No | True to show |
isEnabled | | | Test if control is enabled |
Return | bool | | True if enabled |
isVisible | | | Test if control is visible |
Return | bool | | True if visible |
getName | | | Get control name |
Return | string | | Name |
setAttr | | | Set attribute (property) |
Return | void | | |
name | string | No | Attribute name |
value | string | No | Value to set |
update | number | No | Non-zero to update control |
update | | | Update control for attribute changes |
Return | void | | |
getAttr | | | Get attribute (property) |
Return | string | | Attribute value |
name | string | No | Attribute name |
width | | | Get control width |
Return | number | | Width |
height | | | Get control height |
Return | number | | Height |
resize | | | Resize control |
Return | void | | |
width | number | No | New width |
height | number | No | New height |
getParent | | | Get parent object if any |
Return | object | | Parent or None |
getBlock | | | Get enclosing block if any |
Return | block | | Enclosing block or None |
getForm | | | Get enclosing form if any |
Return | form | | Enclosing form or None |
getReport | | | Get enclosing report if any |
Return | form | | Enclosing report or None |
getRoot | | | Get document root node |
Return | form | | Root node |
lastError | | | Get last error |
Return | string | | Text message for last error |
getNamedCtrl | | | Locate control by name |
Return | object | | Control or None if not found |
name | string | No | Control name relative to this object |
bool | errorOK | Yes | Show error dialog if no control found |
getControls | | | Get list of data controls |
Return | list | | List of data controls |
getConfig | | | Get configuration value |
Return | string | | Configuration value |
name | string | No | Configuration name |
openServer | | | Get low-level connection to server database |
Return | pydbi | | Connection object |
serverName | string | No | Server name |