Updated May 2010
xcall XTREE, srow, scol, answer, array, itemcount, coldef, exitcode{,erow, ecol, flags, file, mmoclr{,xtrctl, filidx, xinfo}}
XTREE is a full-fledged implementation of a Windows “tree” control, supporting multiple columns and multiple levels of rows. The name “tree” comes from the ability to create a branching hierarchy of items, which at each level can be collapsed and expanded. Windows Explorer, for example, is essentially a tree control.
XTREE is an upward-compatible variation of the older routine PCKLST. XTREE and PCKLST are actually the same subroutine, so it does not really matter what name you use. We split it into two different names simply to make it easier to document and understand, since the uses of XTREE may diverge considerably from those of PCKLST, and also to avoid the potential confusion of people trying to use XTREE features that are not available in a text environment. Our recommendation is for you to use PCKLST if you need text mode compatibility and are (therefore) going to stick with the PCKLST features and semantics (as documented under PCKLST). Otherwise, if you are committed to the GUI environment and want to take advantage of the maximum feature set, use XTREE.
Depending on how you call it and the operating environment, the subroutine chooses one of two internal implementations. For text environments, it uses the INMEMO menu mode to display the list and allow you to choose an item. (This will only be successful though if you limit yourself to the PCKLST feature set and argument semantics.) For GUI environments, it uses a commercial tree control, which we have licensed for A-Shell distribution. It resides in an external module, SftTree_IX86_A_50.DLL, which must be in the same directory where ashw32.exe resides, or in the Windows system32 directory. Samples of XTREE usage in A-Shell are shown below.
|
For more info on |
See |
|
Cell editing |
|
|
CSV format |
|
|
File based |
|
|
Multi-level |
|
|
Multiple selection |
|
|
Printing |
|
|
User customization |
|
|
Sorting |
|
|
Split |


Subtopics