PC-Dmis 2010 MR3 Object Library | Send comments on this topic. | See Object Hierarchy Chart
ReportControls Collection Members
See Also Overview

Collapse All Expand All

# Public Methods

_Item |
Add | Adds a new control to the report template The Add method inserts a new control of a defined location and size into the current section of the report template.
AddControl | Adds a new control to the report template and returns an IReportControl interface 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 | returns the given named or numbered control This method returns an Object of the control identified by the name or number in the NameOrNum parameter.
ItemControl | returns the given named or numbered control with an IReportControl interface 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 | Refresh the controls with their new settings This method will repaint the page using the new settings via automation. This is different from RefreshReport which will restore the original settings.
Remove | Removes the specified named or numbered control from the report template This deletes the specified control from the current section of the report template.

# Public Properties

Application | Read Only: Returns the Application Object Returns an Application object.
Count | Read Only: Number of report controls on section/page This property counts all the controls in the current section/page and returns it as a Long value.
Parent | Read Only: Returns the parent Object 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

ReportControls Overview

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.