Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

TabControlAdd Function

Overview

The TabControlAdd function adds a tab or button to the end of the specified tab control.

Syntax/Parameters

Syntax

int = TabControlAdd ( int id, string name );

Parameters

id

An int containing the control ID of the tab control.

name

A string containing the name or text of the tab. The maximum size of a tab text is 255 characters.

Return Value

An int as ERROR_NONE or a formatted error code on failure. Common errors include: ERROR_RANGE if id is an invalid control ID for the open dialog or ERROR_INVALID_HANDLE if no dialog is open.

Remarks

When a tab control is created, it has no tabs or buttons. The TabControlAdd and TabControlInsert functions can be used to add tabs to the control.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic