TModeGadget(int vkKey, LPCTSTR text, int id=0, TBorderStyle=Recessed, TAlign=Center, TFont *font=0)
Initializes the text gadget with the text key's text.
TAlign
Enumerates the text-alignment attributes.
@ Center
Aligns the text horizontally at the center of the bounding rectangle.
TTextGadget(int id=0, TBorderStyle=Recessed, TAlign=Left, uint numChars=10, LPCTSTR text=0, TFont *font=0)
Constructs a TTextGadget object with the specified ID, border style, and alignment.
Definition of text gadget class TGadget.