Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

DataControlSetCellStyle Function

Overview

The DataControlSetCellStyle function sets the cell’s basic style.

Syntax/Parameters

Syntax

int = DataControlSetCellStyle ( int id, int row, int column, string css] );

int = DataControlSetCellStyle ( int id, int row, int column,
                                            [boolean bold], [boolean italic] );

Parameters

id

An int containing the control ID of the data control.

row

A zero-based int specifying the row for the cell.

column

A zero-based int specifying the column for the cell.

css

A string specifying Data Sheet CSS. Note that the syntax is restrictive, see Remarks. Or,

bold

An optional boolean specifying the bold style. The default value is FALSE.

italic

An optional boolean specifying the italic style. The default value is FALSE.

Return Value

Returns an int as ERROR_NONE or a formatted error code on failure.

Remarks

Style can be set using CSS or simple bold and italic. When using CSS, the properties must be limited to the CSS table specified in the DataSheetSetStyle. function.

Alternately, the cell can be set to bold, italic or both.

Platform Support

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

Legato IDE, Legato Basic