Represents these event collections objects within the document collection:
DesktopClient
PlugInClient
ThinClient
Scheduler
SmartView
Use these objects to enable or disable document events in a 8.0 client environment.
All collections have a method named “Item(NameOrIndex).” This is the default method for all collections and returns an item in the collection at a particular index or with a specific name. Use brackets “[]” to represent calls to theItem (Method). For example, these statements cause identical behavior: myItem = Documents[1] myItem = Documents.Item(1) myItem = Documents["StartUp.bqy"] myItem = Documents.Item("StartUp.bqy") |
This example shows how shows how to count and display the sections in an Interactive Reporting document (.bqy) that contain document events in a Console window:
for(I=1 ; I <= Documents["Sample1.bqy"].Events.Count; I ++) Console.Write (ActiveDocument.Sections[I].Name+"\r\n")
DesktopClient, PlugInClient, ThinClient, Scheduler, SmartViewClient