I’m just curious how everyone organizes their Xojo projects. Do you organize by type (windows, containers, custom controls, classes, modules) or by function (contacts, tasks, accounts, reports)? Do you use folders, modules, or a combination of both?
I tend to group objects in folders by type and name related objects by function so they are listed together in the navigator. For example, in a folder named UI I would put windows and containers named ContactDashboard, ContactEdit, ContactPickList, etc. Similarly, i put my classes in a separate folder named classes and name each class also by function. They would be named ContactTable, ContactRecord, etc. so they too are listed together in the navigator.
For custom controls, i try to write them with a more general purpose in mind, as much as possible, so they can be reused in other projects. I put these custom controls, in addition to external controls, in a folder named classes. They would be named something like SearchTextField, PickListbox, NavBar, etc.
For more general purpose utilities and extending the functionality of built-in controls for which I do not wish to create a custom control, I will use modules. For example, in a module i would put a function to convert a recordset to an array. Or, extend a control to get the right and bottom location of the control.