BCX_SET_TEXT function

Purpose: BCX_SET_TEXT will place a text string in an edit field of a control or static text.


 Syntax 1:

 RetVal% = BCX_SET_TEXT hWnd, Text$

 Syntax 2:

 RetVal% = BCX_SET_TEXT(hWnd, Text$)

 Parameters:

  • RetVal% Nonzero integer if the function succeeds, zero if the function fails.
  • hWnd Handle of the control in which to set the text.
  • Text$ Text string to be set in the edit field or control.

Example:


 BCX_SET_TEXT ID_EDITBOX1, a$

Result: ID_EDITBOX1 will contain the a$ string