Object Methods
Prev
Next

Object Methods

setEnabled  Enable or disable control
Returnvoid  
enableboolNoTrue to enable
setVisible  Show or hide control
Returnvoid  
showboolNoTrue to show
isEnabled  Test if control is enabled
Returnbool True if enabled
isVisible  Test if control is visible
Returnbool True if visible
getName  Get control name
Returnstring Name
setAttr  Set attribute (property)
Returnvoid  
namestringNoAttribute name
valuestringNoValue to set
updatenumberNoNon-zero to update control
update  Update control for attribute changes
Returnvoid  
getAttr  Get attribute (property)
Returnstring Attribute value
namestringNoAttribute name
width  Get control width
Returnnumber Width
height  Get control height
Returnnumber Height
resize  Resize control
Returnvoid  
widthnumberNoNew width
heightnumberNoNew height
getParent  Get parent object if any
Returnobject Parent or None
getBlock  Get enclosing block if any
Returnblock Enclosing block or None
getForm  Get enclosing form if any
Returnform Enclosing form or None
getReport  Get enclosing report if any
Returnform Enclosing report or None
getRoot  Get document root node
Returnform Root node
lastError  Get last error
Returnstring Text message for last error
getNamedCtrl  Locate control by name
Returnobject Control or None if not found
namestringNoControl name relative to this object
boolerrorOKYesShow error dialog if no control found
getControls  Get list of data controls
Returnlist List of data controls
getConfig  Get configuration value
Returnstring Configuration value
namestringNoConfiguration name
openServer  Get low-level connection to server database
Returnpydbi Connection object
serverNamestringNoServer name

Prev
Next
Home