WinStudio
IWSIDOCollection interface
Enables/Disables the Graph option on the Actions menu for the specified IDO collection object, or returns a Boolean value indicating whether graphing is enabled for the collection.
object.GraphEnabled = Boolean
Part |
Description |
| object | Required. A reference a valid IDO collection object. |
| Boolean | Required. Determines whether the Graph option
is enabled:
|
object.GraphEnabled
Part |
Description |
| object | Required. A reference to a valid IDO collection object. |
In the get syntax, a return value of:
Sub Main()
If ThisForm.PrimaryIDOCollection.GraphEnabled Then
ThisForm.PrimaryIDOCollection.GraphEnabled = False
Application.ShowMessage("Graphing is now disabled for this collection.")
Else
ThisForm.PrimaryIDOCollection.GraphEnabled = True
Application.ShowMessage("Graphing is now enabled for this collection.")
End If
End Sub