GraphEnabled property (WinStudio scripts)
Applies To
IWSIDOCollection interface
Definition
Enables/Disables the
option on the menu for the specified IDO collection object, or returns a Boolean value indicating whether graphing is enabled for the collection.Set Syntax
object.GraphEnabled = Boolean
Part | Description |
object | Required. A reference a valid IDO collection object. |
Boolean | Required.
Determines whether the Graph option is enabled:
|
Get Syntax
object.GraphEnabled
Part | Description |
object | Required. A reference to a valid IDO collection object. |
Remarks
In the get syntax, a return value of:
- TRUE indicates that the option is enabled on the menu.
- FALSE indicates that the option is disabled and does not appear on the menu.
Example
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