I realize it needs a lot of change to the code to really be good code. But, having said that consider the intended user. Beginners, so I wanted code that a novice could understand.
I'm really sorry about what I'm gonna tell you next, but I think you need to read it and hopefully incorporate it into your coding context.
After reading your code and looking at your UI decisions, the only thing that comes to mind is that your skills got suspended in time from when terminals with 80 columns by 40 rows of text was the default UI.
You make UI decisions with complete disregard to the most basic functionalities of a
TButton like it was just a rectangle in the screen that you click and nothing else.
You add functionality to
TLabel, that was never intended, or discussed, in any meeting about User eXperience(UX) on any Graphical User Interface(GUI).
You make convoluted chained calls, 3 to 4 levels deep, to functions/procedures with very cryptic names.
Nowadays, for the sake of readability, every function/procedure has a long descriptive name so Beginners/Novices can read the code with ease.
Alltag.txt is created every time the program is started. It contains all the Tags on the system with a Tag/sbdirectory or Tag/doublex . A Tag/doublex denotes a sub menu where a Tag/content is a top level tag item.
This explanation does not make sense with the evidence I'm finding on the files. But I need to dive deeper in your rats nest of chained functions/procedures.
Click on ACtiveControl and you get the syntax for ActiveControl. Click on Arrays and you get function related to arrays. Click the SUB button and you go back to the top level menu.
I got that already, and to get at it I had to chase down every function/procedure where you
LowerCase() paths, because it was messing all the file reads!!
You can see on
QLProper that I load level 1 info correctly.
When a Tag is selected a red X is suppose to appear to the left of the Tag but it's broke.
I noticed some inconsistencies on this, but the fact that the UI never informs you about it's state, doesn't help at all.
MM.txt is a static file and is the top level of the display tags. It changes when you add a Sub, new tag to the top level rename deletes.
This is implemented like it should on
QLProper on level 1 data. Need to get to level 2 data next.
I'll download and test QLProper.
Good. Have a good look and tell me if it isn't easier to use.
In summary what you're doing is nothing more than a note taking app with 2 level of hierarchy based on text files and folders for the database.
It's nothing new and it's been implemented in so many ways that you can find a gazillion examples on the web.
You spent all this time and you don't even have a basic search function.
You have no data structure what so ever apart from the data residing inside
TListBoxes.
You clear those
TListBoxes frequently, so your data is quite volatile.
All these little faults are ironed out by any, most basic, tutorial or online course for programming.
Any online tutorial/course hammers the fact that you code against robust data structures. Or a database.
Every online tutorial/course is now heavily based on solid Object Oriented Programming(OOP).
Your code has none of that and on top of it, it is very hard to follow.
It's so dense that even a moderately knowledgeable programmer gets lost, so a beginner would completely drown.
Your insitance that it as to me "my way" is just a projection of your fear towards innovation.
You don't want to learn. Because for you to begin to learn, you would have to admit that what you know is dated and obsolete.
That would mean that you would have to invest a ton of time doing something that was hard the first time around, when you were young, and now is triple hard that you're old.
So you pull the age card and hope that no one notices that you're just a stubborn dinosaur.
I really advise you to Google "Note taking app with source code", or to search for something like that on GitHub.
It will make you some good to look at UI choices made by others so you can freshen up your GUI skills. They are quite lacking, I'm afraid.
Cheers,
Gus