Older Newer
Tue, 04 Nov 2003 02:44:44 . . . . SyneRyder

Changes by last author:

= setCtlText =

== Syntax ==

:setCtlText(int ctlnum, string text)

== Arguments ==


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


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

== Description ==

:This function changes the text property of the user control with the index ctlnum. 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 ==


setCtlText(1, "Rewrite me");

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


== Also see ==


== Comments ==

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