Copyright © 2001-2019 MultiMedia Soft

Spectrum.Show method

Previous pageReturn to chapter overviewNext page

Remarks

 

Shows/hides the embedded Spectrum. This method has no effect without a previous call to the Spectrum.Create method.

 

For further details about using the embedded Spectrum refer to the Spectrum object section.

For details about using Visual Feedbacks refer to the How to use the embedded Visual Feedbacks section.

 

 

Syntax

 

[Visual Basic]

control.Spectrum.Show (

nPlayer as Integer,

bShow as enumBoolean

) as enumErrorCodes


 

[C++]

short control.Spectrum.Show (

short nPlayer,

short bShow

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that will use the Spectrum

bShow

Boolean value that specifies to the player if it must show/hide the Spectrum.

Supported values are the following:

Mnemonic constant

Value

Meaning

BOOL_FALSE

0

Hides the Spectrum graphics

BOOL_TRUE

1

Shows the Spectrum graphics

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful