RAD Studio VCL Reference
|
Sets the text of the control.
procedure SetTextBuf(Buffer: PChar);
__fastcall SetTextBuf(const char * Buffer);
Call the SetTextBuf method to set the text of the control to the text in the specified buffer.
The text is set to the text in the buffer pointed to by the Buffer parameter. Buffer must point to a null-terminated string. The SetTextBuf method sends the WM_SETTEXT and CM_TEXTCHANGED messages. If done in the tight execution of a function, this could result in the change not being seen until messages from the Windows message queue being processed after the function finishes executing. To interrupt a function's execution and process messages, use the ProcessMessages method of the Application object.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|