Hello Salavatore, Hello Derek (How are you ?)
To illustrate what Derek rightly says about using a TreeView in MVD, here is an example of what you get with a TV.
I admit that the one used by MVD is not great in my opinion, I would have preferred a TV like in Delphi7 much simpler to implement.
To illustrate what Derek describes, in my application on the management of a database on birds responding to a command, the choice of a family in the initial TV displays the different birds belonging to this family and a click on the name of a bird calls the form describing it (with photo and song, or even video when it exists).
At first, I had trouble understanding the philosophy of MVD's TV.
After many emails with Dmitri, I managed to master it, but it took time.
Hang in there if you want to get there, don't forget to allow users to create parents and children, you can also automatically sort alphabetically without using Up and Down buttons (like I did at the beginning - it's a pain!)
Good luck and if you need anything, come back to us, you will have all the necessary information.
JB
Post's attachments
Exemple.jpg 432.69 kb, 17 downloads since 2024-06-30