Re: General suggestions, in preparation for a text-mode array navigator
Posted: Sun Oct 31, 2021 8:19 pm
"Why Harbour?"
Why do Harbour for anything? Because we love the language and would like to add features in our native environment.
"Why do you have to show the ENTIRE TreeWiew?"
Not necessary to show the entire directory tree. Sending a specific directory as a function is fine. But sometimes, we'll want to send C:\ or F:\.
"You can select only the folder you want to see with:
GetFolder ([<cTitle>], [<cInitPath>], [<cInvalidDataMsg>], [<lNewFolderButton>], [<lIncludeFiles>], [<nCSIDL_FolderType>], [<nBIF_Flags>]) -> cSelectedName"
Not interested in a Win component.
I wanted to see it in TEXT mode, like Xtree Gold or ZTreeWin or the tree component in Far Manager https://www.farmanager.com.
But I'm putting this project aside, because it would probably take too long to put in the all needed features.
"and from there do what you want with the content ..."
Anything we want, including customized features.
So for example, we'd want to use a Text-Mode treeview to build a folder-based pim which would automatically carry To-Do lists of UnFinished items from the previous day to the current day.
We would also want to press ENTER on a file with a specific extension, and it would run a batch file with the selected file as a parameter, and do some pre-processing before viewing or opening or executing the selected file.
And we'd want to do the same things - Copying, Moving, Creating Directories, quickly viewing contents - that we would do with e.g. Harbour Commander or a standard File Manager.
We might also configure it as an XML or Json or EDN viewer.
Why do Harbour for anything? Because we love the language and would like to add features in our native environment.
"Why do you have to show the ENTIRE TreeWiew?"
Not necessary to show the entire directory tree. Sending a specific directory as a function is fine. But sometimes, we'll want to send C:\ or F:\.
"You can select only the folder you want to see with:
GetFolder ([<cTitle>], [<cInitPath>], [<cInvalidDataMsg>], [<lNewFolderButton>], [<lIncludeFiles>], [<nCSIDL_FolderType>], [<nBIF_Flags>]) -> cSelectedName"
Not interested in a Win component.
I wanted to see it in TEXT mode, like Xtree Gold or ZTreeWin or the tree component in Far Manager https://www.farmanager.com.
But I'm putting this project aside, because it would probably take too long to put in the all needed features.
"and from there do what you want with the content ..."
Anything we want, including customized features.
So for example, we'd want to use a Text-Mode treeview to build a folder-based pim which would automatically carry To-Do lists of UnFinished items from the previous day to the current day.
We would also want to press ENTER on a file with a specific extension, and it would run a batch file with the selected file as a parameter, and do some pre-processing before viewing or opening or executing the selected file.
And we'd want to do the same things - Copying, Moving, Creating Directories, quickly viewing contents - that we would do with e.g. Harbour Commander or a standard File Manager.
We might also configure it as an XML or Json or EDN viewer.
