IR Framework

ActiveDocument.loadObjectMethods Method

The loadObjectMethods method adds custom methods to all of the controls that reside on dashboards in the ActiveDocument.
object.loadObjectMethods ()

Arguments

object
Required. Always the ActiveDocument object.



Remarks

Call the loadObjectMethods after creating the objects on which you want the methods applied.
The loadObjectMethods method creates the following properties and methods for dashboard shape objects:
GetValue(), SetValue(), GetList(), SetList() The loadObjectMethods method creates the following methods for dashboard objects:
SaveUserValues(), LoadUserValues(), ControlExists()
ObjectsProperties/Methods
Dashboard SaveUserValues()
LoadUserValues()
ControlExists()
Dashboard Shapes GetValue()
SetValue()
GetList()
SetList()
maximize()
Results, Tables, Pivots ExportToExcel()
Results, Tables sort()
sortAppend()
getValues()
Limits getSelection()
setSelection()
Result/Table Columns toArray()



Example:
//	create the custom methods for dashboard controls
ActiveDocument.loadObjectMethods();



Requirements