GridSetCell Function

Microchip Graphics Library

Microchip Graphics Library
GridSetCell Function
C
WORD GridSetCell(
    GRID * pGrid, 
    SHORT column, 
    SHORT row, 
    WORD state, 
    void * data
);
Overview

This function sets the Grid Item state and data.

Input Parameters
Input Parameters 
Description 
GRID * pGrid 
The pointer to the Grid object. 
SHORT column 
the column index of the cell 
SHORT row 
the row index of the cell 
WORD state 
sets the state of the Grid Item specified. 
void * data 
pointer to the data used for the Grid Item. 
Returns

Returns the status of the operation

Preconditions

Object must be created before this function is called.

Side Effects

none

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved