DADiSP Worksheet Functions > Function Categories > ActiveX > Automation Server > VISIBLE
Sets or retrieves the visibility state as an ActiveX Automation Server.
VISIBLE([in] INT state)
VISIBLE([out] INT state)
state |
- |
Optional. An integer, the visibility state:
|
An integer, the visibility state.
Visual Basic Example:
Dim DADiSP as Object
’’’ Connect to DADiSP
Set DADiSP = CreateObject("dadisp.application")
’’’ Create a 2 Window Worksheet without prompting
DADiSP.Execute("newworksheet(2, 0)")
’’’ Generate random data in W1
DADiSP.Execute("W1: grand(1000, 1)")
’’’ show it
DADiSP.Visible = 1
’’’ get integral of W1
DADiSP.Execute("W2: integ(W1)")
’’’ hide it
DADiSP.Visible = 0
Starts DADiSP as an ActiveX Automation server, creates a 2 Window Worksheet and places 1000 random samples in W1. DADiSP is made visible. W2 is set to the integration of W1 and DADiSP is hidden.
The visibility state can be set or retrieved.