Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions (continued)

DialogSetCaption Function

Overview

The DialogSetCaption function sets the caption of a dialog.

Syntax/Parameters

Syntax

int = DialogSetCaption ( string caption );

Parameters

caption

A string to replace the current dialog’s caption.

Return Value

Returns an int value as ERROR_NONE or a formatted error code. Use the GetLastError function to retrieve error information.

Remarks

For basic dialogs, the caption is set from the resource and can be replaced or updated by this function. For property sheet dialogs, the caption must be set with this function. It is best to set the caption in the load procedure for the first page.

Related Functions

Platform Support

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

Legato IDE, Legato Basic