Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

HypertextControlGetText Function

Overview

The HypertextControlGetText retrieves the text from a ‘syslink’ class control.

Syntax/Parameters

Syntax

string = HypertextControlGetText ( int id );

Parameters

id

An int containing the control ID of a ‘syslink’ class control.

Return Value

Returns a string containing the text or an empty string on failure or if the control does not contain any text. Use the GetLastError function to retrieve error information. In validation mode, the last error code will contain the control ID which can be returned directly to the dialog validate procedure to set focus on the offending control.

Remarks 

The function will retrieve the text exactly as set in the resource definition or as set by the EditSetText or HypertextControlSetText functions.

Related Functions

Platform Support

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

Legato IDE, Legato Basic