Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions (continued)

ButtonSetText Function

Overview

The ButtonSetText function sets the text (or caption) of a button.

Syntax/Parameters

Syntax

int = ButtonSetText ( int id, string text );

Parameters

id

An int that identifies the dialog button whose text will be returned.

text

A string containing the text to which the button’s caption should be set.

Return Value

Returns an int as ERROR_NONE on success, ERROR_RANGE if id is an invalid control ID for the open dialog, or ERROR_INVALID_HANDLE if no dialog is open.

Remarks

To make a button’s caption blank, set the text parameter to an empty string.

Related Functions

Platform Support

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

Legato IDE, Legato Basic