C
void BtnSetText( BUTTON * pB, XCHAR * pText );
Overview
This function sets the string used for the object.
Input Parameters
Input Parameters |
Description |
BUTTON * pB |
The pointer to the object whose text will be modified. |
XCHAR * pText |
Pointer to the text that will be used. |
Returns
none
Preconditions
none
Side Effects
none
Example
XCHAR Label0[] = “ON”; XCHAR Label1[] = “OFF”; BUTTON Button[2]; BtnSetText(Button[0], Label0); BtnSetText(Button[1], Label1);