Technical Notes Database TN1233D.txt Changing Button Text Category :Pascal Platform :All Product :Turbo Pascal 1.0 Description: Question: How do you change the text on a button? Answer: To change the text on a button, send a WM_SETTEXT message with the string for the lParam. For example: SendMessage(btnWindow, WM_SETTEXT, 0, 'New Button Title'); Or if you are using OWL, call the SetCaption method of TButton. Reference: 7/16/98 4:35:43 PM
Last Modified: 01-SEP-99