SETCONTROLTEXT |
Top Previous Next |
Syntax SETCONTROLTEXT(win as WINDOW,id as UINT,text as STRING) Description Sets the text of a control. Equivalent to the WM_SETTEXT windows message. Parameters win - Window or dialog containing the control. id - Identifier of control. text - New text for control. Return value None Remarks Not all controls respond to the SETCONTROLTEXT function. For edit controls SETCONTROLTEXT will set the text in the edit control. For all other controls it will retrieve the caption text of the control. See Also: GETCONTROLTEXT Example usage SETCONTROLTEXT mydlg, 17, "Cancel" |