"text"

Contents of the text field of a combo box.

Synopsis

setValue(string shape, "text", string s);

getValue(string shape, "text", string &s);

shape.text(string s);

Parameters

Parameter Description
shape Name of the object
s Display field text

Description

Specifies the text in the display field of a combo box.

Example

The following example sets the text to "TEST".

main()
{
  shape cb=getShape("COMBO_BOX1");
  cb.text="TEST";
}

Assignment

Combo box