GETCONTROLTEXT |
Top Previous Next |
Syntax STRING = GETCONTROLTEXT(win as WINDOW,id as UINT) Description Retrieves the text of a control. Equivalent to the WM_GETTEXT windows message. Parameters win - Window or dialog containing the control id - Identifier of the control Return value A string containing the controls text. Remarks For edit controls GETCONTROLTEXT will retrieve the text in the edit control. For all other controls it will retrieve the caption text of the control. See Also: SETCONTROLTEXT Example usage ed$ = GETCONTROLTEXT(mydlg, 1) |