Please enable JavaScript to view this site.

A-Shell 6.5 Development Notes

XTREE enhancement: XTF2_ANSEQDATA may now be used with XTF_MSEL and/or XTF_DRAGDROP. This requires that the data array elements start with the special SELECTION, and if applicable, ORG'ROW, fields as would be required in the answer array (see XTF_DRAGDROP topic for details). The remaining fields in each data array element can be laid out in any order, as is normally the case with the data array and with XTF2_ANSEQDATA. The following examples may help clarify this:

defstruct ST_XTDATA_AM    ! data elements with ANSEQDATA and MSEL

    map2 SELECTION,S,1    ! (mandatory) selection flag

    <remaining fields in any order>

endstruct

 

defstruct ST_XTDATA_AD    ! data elements with ANSEQDATA, DRAGDROP

    map2 ORG'ROW,S,4      ! (mandatory) drag/drop cross reference

    map2 SELECTION,S,1    ! (mandatory) selection flag

    <remaining fields in any order>

endstruct

 

The layout requirements for the combination of multi-select and drag-drop is the same as for drag-drop alone.