TITLE Property


PLBCMP GUI Only

square.png Objects

 

The TITLE property defines text associated with an object. The property uses the following format:

TITLE={value}

Note the following:

  1. TITLE may be used in CREATE, SETPROP, or GETPROP statements.

  2. The {title} may be a Character String Variable or Literal.

  3. {value} may contain an ampersand to indicate an ALT-Key sequence for supported objects. This allows selection of an object via the keyboard.

  4. If {value} is a Null String, the title is removed from the object.

  5. The use of the TITLE text varies among objects. For BUTTON objects, the text is placed on the button. For a CHECKBOX, the text is placed next to the check box. For a column in a DATATABLE, it is the column heading.

  6. When using the PL/B Web Server, the TITLE property is supported for all PL/B objects as normally expected. However, the TITLE property for a WINDOW object is restricted to only be shown in a WINDOW that has a titlebar. The WINDOW object with a WINTYPE of $MODAL and $MODELESS have a titlebar which allows the TITLE property data string to be shown. For all other WINTYPE values, the TITLE property is not shown since there is titlebar."

 

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference TICKSTYLE Property TITLEBGCOLOR Property