Messenger Plus! Live - Scripting Documentation

The PlusWnd::Button_SetElementText function sets the text of a sub-element defined in the <CustomLook> section of a ButtonControl, a CheckBoxControl or a RadioControl.

Syntax

Button_SetElementText(
    [string] ControlId,
    [string] ElementId,
    [string] Text
);

Parameters

ControlId
[string] Unique identifier of the control.
ElementId
[string] Unique identifier of the sub-element. This must be a Text Element.
Text
[string] Text to set in the specified Text Element.

Return Value

No value is returned by this function.

This function typically fails for the following reason:

Remarks

This function only changes the text of controls that are drawn in a special way. To change the caption of a standard control, use SetControlText.

Function Information

Object PlusWnd
Availability Messenger Plus! Live 4.60

See Also

PlusWnd Object.