Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
Overview 
PCDLRN ActiveX DLL : ReportControls Collection
ReportControls Collection Members
Public Methods
 

The Add method inserts a new control of a defined location and size into the current section of the report template.

 

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

This method returns an Object of the control identified by the name or number in the NameOrNum parameter.

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

 

This method will repaint the page using the new settings via automation. This is different from RefreshReport which will restore the original settings.

This deletes the specified control from the current section of the report template.
Public Properties
Returns an Application object.
This property counts all the controls in the current section/page and returns it as a Long value.
This property returns this object's parent object, a generic object interface.
Read Only: Returns the Read Only flag. If set controls cannot be added or removed
See Also