J G
asked on
Difference between tabbed sub form and navigation sub form
In your Expert Opinion,
how should I determine when to use a tabbed subform vs a navigation sub-form.
how should I determine when to use a tabbed subform vs a navigation sub-form.
ASKER
what makes it more difficult?
Also, I know you said usage is on my discretion, but what do you prefer to use? Is there a particular situation where you would choose to use a nav form?
Also, I know you said usage is on my discretion, but what do you prefer to use? Is there a particular situation where you would choose to use a nav form?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks!
I generally prefer a form with tabcontrolls because it gives me morr control of the appearance of my applications, but I'm beginnjng to see the navigation form popup more frequently in client applications snd in questions here at EE.
adding on ...
With Tab controls, all subforms and controls are loaded on all pages, even those not showing, unless your code does the loading. This means you can reference values on any tab control page from anywhere.
Navigation controls, on the other hand, only load the page that is displayed. Subforms and controls on other navigation pages are NOT loaded and therefore, cannot be referenced. In these cases, you can use TempVars, database properties, tables, public variables, or other ways to store values from other pages.
There is also a difference in the way that subforms and controls are referenced between tab and navigation controls. Navigation Controls also have a hard time loading complex forms and in some cases, haven't been able to do it so I had to NOT use a navigation control.
Tab controls are more flexible and generally have less problems, in my opinion.
With Tab controls, all subforms and controls are loaded on all pages, even those not showing, unless your code does the loading. This means you can reference values on any tab control page from anywhere.
Navigation controls, on the other hand, only load the page that is displayed. Subforms and controls on other navigation pages are NOT loaded and therefore, cannot be referenced. In these cases, you can use TempVars, database properties, tables, public variables, or other ways to store values from other pages.
There is also a difference in the way that subforms and controls are referenced between tab and navigation controls. Navigation Controls also have a hard time loading complex forms and in some cases, haven't been able to do it so I had to NOT use a navigation control.
Tab controls are more flexible and generally have less problems, in my opinion.
not many like this because it is not easy to use unlike putting the subform inside the TabControl
usage is on your discretion.