Param

Method

Event

 

 

ShowTab

Specifies whether to display the Edit, HTML and Preview tabs.

 

Syntax

    HRESULT ShowTab (
    boolean bShow
    );

Parameters

bShow

[in] Specifies whether to display the tabs

TRUE

Display tabs

FALSE

Do not display tabs (does not display line)

NULL (Ver. 1.5+)

Do not display tabs (displays line)

 

Return Values

None

 

Remarks

For this method to be called successfully, it must be called after the Main class is called and the editor is loaded.

If there is no bShow parameter, it is set to 'true' by default.

 

Sample Codes

JavaScript

var object = new NamoSE("test");
object.EditorStart();
object.ShowTab(false);