VISIBLE

Purpose:

Sets or retrieves the visibility state as an ActiveX Automation Server.

Syntax:

VISIBLE([in] INT state)

VISIBLE([out] INT state)

state

-

Optional. An integer, the visibility state:

0:

hidden

1:

visible

Returns:

An integer, the visibility state.

Example:

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.

Remarks:

The visibility state can be set or retrieved.

See Also:

EXECUTE

GETDATA

PUTDATA

QUIT

SETVISIBLE