ACTIVATE Property


PLBCMP GUI Only

 

The ACTIVATE property allows a LISTVIEW object to generate an ItemActivate event when an item is clicked or double clicked. The property uses the following format:

 

ACTIVATE={value}

Note the following:

  1. The ACTIVATE property may be used in GETPROP, SETPROP, or CREATE statements of a LISTVIEW object.

  2. When this property is set to $ONECLICK, the LISTVIEW object sends an ItemActivate event when the user clicks an item.

  3. When this property is set to $TWOCLICK, the first click over an unselected item selects the item and a second click over the selected item sends a ItemActivate event.

  4. This property requires version of 4.70 or later of the Microsoft comctl32.dll.

  5. This property will only affect the operation of the LISTVIEW object when the VIEWSTYLE property is set to the $VIEWREPORT.

  6. This property also enables hot tracking in the LISTVIEW object. Hot tracking means that when the cursor moves over an item, it is highlighted but not selected.

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

  8. Value

    Keyword

    Event generation is ...

    1

    $STANDARD

    disabled.

    2

    $ONECLICK

    generated for a single mouse click.

    3

    $TWOCLICK

    generated for a double mouse click.

 

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

 



PL/B Language Reference ACCEPTTAB Property ACTIVEROW Property (DATATABLE)