GUI ScreenIO for Windows

 ScreenIO.com


The listview-SELECTION event

A listview-SELECTION event is returned when the listview has multiple sets of selected items, and you interrogate it using panel-DO-RETURN-listview to obtain a selection range.

This is not presently implemented. 

Data returned with this event

Required to process this event

In panel-3 area Data
listview-SEL1-KEY The value of the invisible key column for the first selected record in a range.
listview-SEL2-KEY The value of the invisible key column for the last selected record in a range.

Returned but not used to handle this event

In panel-3 area Data
listview-MAX Maximum number records that may be passed in the listview buffer, useful for PERFORMed loops when loading records to  your listview buffer.
listview-SCROLL-TO-KEY Set to HIGH-VALUES.
listview-TOP-OF-LIST-KEY The value of the invisible key column for the first (top) record that is visible in the listview control.
All other fields Set to LOW-VALUES.
In panel-4 area Data
listview Number of items in the list that are selected.

Usual response

Not implemented.

Sample code

     PERFORM WITH TEST AFTER
         UNTIL panel-EVENT-CLOSE-WINDOW
            OR panel-EVENT-CLOSE-AND-STOP

       CALL 'GS' USING panel-1
                       panel-2
                       panel-3
                       panel-4

       EVALUATE TRUE

-->      WHEN listview-SELECTION
-->        CONTINUE

           .
           .
           .

       END-EVALUATE

     END-PERFORM.


Remarks

Not implemented.

Related topics:


© 2000-2019 Norcom, all rights reserved 

TOC

Send feedback to Norcom