GbSetText Function

Microchip Graphics Library

Microchip Graphics Library
GbSetText Function
C
void GbSetText(
    GROUPBOX * pGb, 
    XCHAR * pText
);
Overview

This function sets the text used by passing the pointer to the static string.

Input Parameters
Input Parameters 
Description 
GROUPBOX * pGb 
the pointer to the object whose state will be modified. 
XCHAR * pText 
pointer to the text that will be used. 
Returns

none

Preconditions

The style scheme used for the object MUST be initialized with a valid font. If font is not valid, textWidth and textHeight parameter of GROUPBOX will be undefined.

Side Effects

Modifies the object width and height depending on the selected string width and font height.

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