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

Glossary Item Box

Public Methods

Public Method _Item 
Public Method Add

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

Public Method 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

Public Method ItemThis method returns an Object of the control identified by the name or number in the NameOrNum parameter.
Public Method 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

Public Method RefreshControls

 

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

Public Method RemoveThis deletes the specified control from the current section of the report template.

Public Properties

Public Property ApplicationReturns an Application object.
Public Property CountThis property counts all the controls in the current section/page and returns it as a Long value.
Public Property ParentThis property returns this object's parent object, a generic object interface.
Public Property ReadOnlyRead Only: Returns the Read Only flag. If set controls cannot be added or removed

See Also

Copyright © 2021. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.