It looks like Lazarus is going to be the best way.   I've been looking at 
TTreeView... but I'm not sure I can make it do what I want.   I need to select 
multiple items in the tree at the same time, and then get a list of what has 
been selected.  Is there a way to add checkboxes to the tree with TTreeView?   
Or is there a better tree object I should look at?

I am also wondering if there is some convenient method of saving a tree to some 
kind of data file, and later restoring the data file to the tree.  It seems 
that since trees are all over the place that maybe there is already a built in 
way to load a data file that somehow designates the hierarchical order.

James

-----Original Message-----
From: fpc-pascal <fpc-pascal-boun...@lists.freepascal.org> On Behalf Of James 
Richters via fpc-pascal
Sent: Tuesday, April 6, 2021 1:13 PM
To: 'FPC-Pascal users discussions' <fpc-pascal@lists.freepascal.org>
Cc: James Richters <james.richt...@productionautomation.net>; 'Jean SUZINEAU' 
<jean.suzin...@wanadoo.fr>
Subject: Re: [fpc-pascal] Directory Tree

I'm developing a new application where the user will need to select items from 
a tree structure.. I'm trying to figure out how to do the tree at all,  and 
allow the user to select multiple files and/or folders.   If the tree is going 
to be too complicated in text mode, then maybe I'll have to figure out Lazarus 
and go that way.  I haven't even started the project yet, but this tree 
selection with the ability to expand or collapse branches is going to be a big 
part of it, so I'm trying to see what's available.

James

-----Original Message-----
From: fpc-pascal <fpc-pascal-boun...@lists.freepascal.org> On Behalf Of Jean 
SUZINEAU via fpc-pascal
Sent: Tuesday, April 6, 2021 8:46 AM
To: fpc-pascal@lists.freepascal.org
Cc: Jean SUZINEAU <jean.suzin...@wanadoo.fr>
Subject: Re: [fpc-pascal] Directory Tree

As far as I understand, you are searching for a general tree component like 
TTreeView in Lazarus, but for FreeVision, running in text mode in console ?


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org 
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org 
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to