GRID.ItemFormatString |
state = GRID.ItemFormatString( BYVAL nControl AS INTEGER, BYVAL row AS INTEGER, BYVAL column AS INTEGER, BYVAL str AS STRING ) AS STRING
Sets the formatting string for the selected cell. The string format follow standard C/C++ print formats
Example:
IF GRID.ItemType( nControl, 1, 1 ) = MG_CELL_REAL THEN GRID.ItemFormatString( nControl, 1, 1, “%1.3f” ) ENDIF
|