Aug-20-2020, 06:05 PM
You really need to spend some time away from the computer thinking about how your program works. You need to document who knows what, who wants to use what, and how can they talk to each other. Right now your tabs only know about themselves. If they need to talk to MainApplication they have no way of doing so.
I would try very hard to make it so MainAppliction knows everything, the tabs know how to get what they need form MainAppliction, MainApplication has to know very little about the tabs, and none of the tabs have to know about each other.
I would try very hard to make it so MainAppliction knows everything, the tabs know how to get what they need form MainAppliction, MainApplication has to know very little about the tabs, and none of the tabs have to know about each other.