setText

>>--setText(--text--)----------------------------------------------------------><

Sets the text of the static control. This only effects text static controls. For instance, text can not be set for frames or rectangles.

Arguments:

The single argument is:

text

The text the control should display.

Return value:

This method returns a non-negative number.

0

Success

other

Some error was detected. The number returned is the system error code.

Example:

This method is straight forward to use.

static = self~getStaticControl(IDC_ST_FULLNAME)
static~setText("James Madison")