OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Accessing the Gadget Text

You can get and set the text in the gadget using the TTextGadget functions TTextGadget::GetText and TTextGadget::SetText.

GetText takes no parameters and returns a const char *. Do not attempt to modify the gadget text through the use of the returned pointer.

SetText takes a const char * and returns void. The gadget makes a copy of the text and stores it internally.

See Also