Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

PageControlSetText Function

Overview

The PageControlSetText function sets the HTML code content of a page control.

Syntax/Parameters

Syntax

int = PageControlSetText ( int id, string data );

Parameters

id

An int containing the control ID of the page control.

data

A string containing HTML code to set into the page control.

Return Value

Returns 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

The code being set must be HTML code. While setting uncoded text does work, many of the editing functions within the control will not operate correctly.

The line ending types are not relevant. However, it is desirable to have line endings for most blocks since it helps the internal management of display objects.

Related Functions

Platform Support

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

Legato IDE, Legato Basic