Updated Event


PLBCMP GUI Only

 

The Updated event occurs when the OLE object linked to a CONTAINER object has changed data. Also, this event occurs when a PL/B Web Server LISTVIEW cell has been modified after using the SetEditColumn method to allow editing.

Note the following:

  1. The Updated event is referenced using an event value of twenty-two (22). The equated label in PLBEQU.INC for this event is $UPDATED.

  2. The following Event Result values are set for a CONTAINER object.

  3.   

    Value

    Meaning

    1

    The linked OLE object's data or LISTVIEW cell data has been changed.

    2

    The file containing the linked OLE object's data has been closed by the application that created the object.

    3

    The file containing the linked OLE object's data has been renamed by the application that created the object.

    4

    The linked OLE object's data has been saved by the application that created the object.

     

  4. The Event Result value identifies the PWS LISTVIEW item and sub-item that was modified by an end-user keying action.

  5.  

    EventResult = ( Item * 100 ) + SubItem

     

    Example:

     

    Item = ( EventResult / 100 )

    SubItem = ( EventResult - ( Item * 100 ) )

 

 

See Also: EVENTREGISTER, Object Events, Object IO Instructions, Object Definitions



PL/B Language Reference Timer Event User Event