Contains all the control objects for a Dashboard section. Use Controls (Collection) to access a specific control object. All control object have common controls and methods, but properties that are specific to control returned.
All collections have the “Item(NameOrIndex)” method. This is the default method for all collections and returns an item in the collection at a particular index or with a specific name. Use brackets ([]) to represent calls to Item (Method). For example, these statements cause identical behavior: myItem = Documents[1] myItem = Documents.Item(1) myItem = Documents["StartUp.bqy"] myItem = Documents.Item("StartUp.bqy") |
This example shows how to enable disabled controls in Dashboard sections: