COMBOSTYLE Property


PLBCMP GUI Only

 

The COMBOSTYLE property specifies the style of a combobox. The property uses the following format:

 

COMBOSTYLE={value}

Note the following:

  1. COMBOSTYLE may be used in CREATE or GETPROP statements of COMBOBOX and POPUPMENU objects

  2. A default combobox object is a drop down list in which the text is not editable.

  3. The $EDIT style defines a combobox list similar to the default except the text is editable. Only the current selection field may be edited.

  4. The $LIST style defines a combobox list similar to the default except that the list is always present and the text is not editable.

  5. The $SIMPLE style defines a combobox list similar to the default except that the list is always present and the text is editable. Only the current selection field may be edited.

  6. {value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
     

  7. Value

    Keyword

    The list may ...

    0

    $NONE

    not be edited. (Same as $LIST)

    1

    $EDIT

    be edited.

    2

    $LIST

    not be edited and is always present. (default)

    3

    $SIMPLE

    be edited and is always present.

     

  8. This property is not supported when using the PL/B Web Server.

 

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

 



PL/B Language Reference COLUMNWIDTH Property COMPUTE Property (DATATABLE)