Older Newer
Thu, 23 Apr 2009 01:37:05 . . . . conr-adsl-209-169-81-101.consolidated.net


Changes by last author:

Added:
= setCtlTextv =

== Syntax ==

:setCtlTextv(int ctlnum, string textv)

== Arguments ==

:ctlnum

::The number of the control whose text you'd like to change.

:textv

::A string containing the formatted text you'd like the label text changed to.

== Description ==

:This function changes the text property of the user control with the index ctlnum using formmated text. Note that not all user controls support text strings. Also keep in mind that the user control has to be resized if your text string exceeds the current size. Substrings and escape sequences are allowed.

== Example ==

<code>

setCtlTextv(1, "Rewrite me");

setCtlTextv(CTL_OK, "Apply"); //rename OK pushbutton text to ?Apply?

</code>

== Also see ==

:setCtlText

== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.