|
CGridCtrl:SetStr, CGridView:SetStr
The SetStr method assigns a string value to
a grid cell.
Syntax
CGridCtrl:SetStr( nCol, nRow, strValue )
Where
nCol, and nRow are the coordinates of the cell to set.
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":
|
V = attach_gridview()
|
|
|
G = new_gridctrl(V)
|
|
|
G:SetStr(5,10,"My
value")
|
|
Related Topics
CGridCtrl class
GetStr
SetNum
SetVal
Mira Pro x64 Script User's Guide, v.8.76 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.
|