Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter EightData Functions (continued)

DataSheetSetCellAttributes Function

Overview

The DataSheetSetCellAttributes function returns a string array of cell attributes.

Syntax/Parameters

Syntax

int = DataSheetSetCellAttributes ( handle hSheet, int row, int column,
                                      string data [], [boolean supplement] );

int = DataSheetSetCellAttributes ( handle hSheet, string row, string column,
                                      string data [], [boolean supplement] );

int = DataSheetSetCellAttributes ( handle hSheet, string address,
                                      string data [], [boolean supplement] );

Parameters

hSheet

A handle to a Data Sheet Object.

row

An int or string specifying a zero-based row or Y position for the cell.

column

An int or string specifying a zero-based column or X position for the cell.

address

A string specifying the cell position by cell address such as “A1”.

data

A string array containing the attribute fields to update. The field key names must match items defined below.

supplement

An optional boolean value specifying whether to supplement existing data.

Return Value

Returns ERROR_NONE or a formatted error code failure. Use the GetLastError and GetLastErrorMessage function to retrieve error information.

Remarks

The following key names can be used:

  Element Key Name   Description  
  FieldTypeData   Extended field data for non-text style cells.  
  NativeData   Native data for non-text style cells. For example, the text of a radio style button.  
  Name   The name of the cell.  
  Description   The description of the cell.  
  Tip   An optional popup tip. Tips are only displayed if the host view supports tooltip popups.  
  Comment   A general comment.  
  Review   A review note.  
  PrivateA   General caller private data.  
  PrivateB   General caller private data.  
  Events   Script Events.  

 

If a key name is not present and the supplement flag is TRUE, the field will remain unchanged.

Related Functions

Platform Support

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

Legato IDE, Legato Basic

Page revised 2024-12-13