MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laKeyPadWidget_SetKeyValue Function
MPLAB® Harmony Graphics Suite
laKeyPadWidget_SetKeyValue Function

The edit value for a key pad cell is the value that is passed to the Aria edit event management system. This may be different than the displayed text of the cell or when the cell is using a picture icon and has no display text. 

An input string that references the string table is a valid use case and the edit text will change as the active string table language changes.

C
LIB_EXPORT laResult laKeyPadWidget_SetKeyValue(
    laKeyPadWidget* pad, 
    uint32_t row, 
    uint32_t col, 
    laString str
);
Parameters
Parameters 
Description 
laKeyPadWidget* pad 
the widget 
uint32_t row 
the indicated row 
uint32_t col 
the indicated column 
laString str 
the string to set the key value to 
Returns

laResult - the result of the operation

MPLAB® Harmony Graphics Suite