Public Methods
_Item | |
Add | The Add method inserts a new control of a defined location and size into the current section of the report template. |
AddControl |
This method works like the normal Add method except that the control adds a new object type that shows its properties.
The properties available to this new object type are:
Application - (Get) reference to the application object Parent - (Get) reference to the parent object (ReportingControls) Top - (Put/Get) Top position of the report control window Bottom - (Put/Get) Bottom position of the report control window Left - (Put/Get) Left position of the report control window Right - (Put/Get) Right position of the report control window ID - (Get) The ID of the report control - The name of the control Selected - (Put/Get) selection state of the report control Visible - (Put/Get) visible state of the report control Height - (Put/Get) The height of the report control Width - (Put/Get) The width of the report control Type - (Get) The type of control Command - (Get) The underlying command |
Item | This method returns an Object of the control identified by the name or number in the NameOrNum parameter. |
ItemControl | This method works like the normal Item method except that the control returns a new object type that shows its properties.
The properties available to this new object type are:
Application - (Get) reference to the application object Parent - (Get) reference to the parent object (ReportingControls) Top - (Put/Get) Top position of the report control window Bottom - (Put/Get) Bottom position of the report control window Left - (Put/Get) Left position of the report control window Right - (Put/Get) Right position of the report control window ID - (Get) The ID of the report control - The name of the control Selected - (Put/Get) selection state of the report control Visible - (Put/Get) visible state of the report control Height - (Put/Get) The height of the report control Width - (Put/Get) The width of the report control Type - (Get) The type of control Command - (Get) The underlying command |
RefreshControls |
This method will repaint the page using the new settings via automation. This is different from RefreshReport which will restore the original settings. |
Remove | This deletes the specified control from the current section of the report template. |
Public Properties
Application | Returns an Application object. |
Count | This property counts all the controls in the current section/page and returns it as a Long value. |
Parent | This property returns this object's parent object, a generic object interface. |
ReadOnly | Read Only: Returns the Read Only flag. If set controls cannot be added or removed |
See Also