CGridView:SetRow CGridView:SetTitle

CGridView:SetStr


The SetStr method assigns a string value to a grid cell.

Syntax

CGridView:SetStr( nCol, nRow, strValue )

bullet.gif    Where nCol, and nRow are the coordinates of the cell to set.

bullet.gif    Where strValue is the string value to assign to the specified cell.

Example

The following script sets the cell contents of (column 5, row 10) to "My value":

G = attach_gridview()

-- attach a grid on the Mira desktop

G:SetStr(5,10,"My value")

-- set the string value in cell (5,10)

Related Topics

CGridView class

GetStr

SetNum

SetVal


Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.