Hide individual Tab

tompynation
Member Posts: 398
Is it already possible in NAV5 SP1 to hide an individual tab,
So not the entire tabcontrol but just 1 tabpage
So not the entire tabcontrol but just 1 tabpage
0
Comments
-
no, you can only hide the controls on Tab.Do you make it right, it works too!0
-
If i can't hide a tab - is there any other possebility to mark tabs?
i think such things like font, colors, bold... My users want see a state of the tab and i'm afraid now i have to design a overview-tab.
I wrote programms for the past twenty years but i'm very new in navision. Any ideas are welcome.
WoF0 -
Take two tab controls and place them on top of each other. One with all tabs and one without some tabs. Give them a control name and enable/disable that one you want to see / you don't want to see.
But I have no idea how to highlight one specific tab. Sorry."Money is likewise the greatest chance and the greatest scourge of mankind."0 -
Nice idea - but i have 11 tabs and nearly every kombination is possible.
Next time i attend some courses and i will ask the teachers after this. I will post the answer here in about 1 month.
WoF0 -
The eaysiest solution: hide the controls on Tab.
If you create more then 1 TabControls, you must ever changed all, if you have some modifications (new Fields / delete fields, etc.)
But you know in which case the contrlos must be hide. so its easy to create a simple Function on Form like this exampleName DataType Subtype Length YourStatus Boolean <- Your Status can be a variable or, if you not need a variable, the value of a field, then the variable YourStatus is not needed Form - OnAfterGetRecord() InitControls(); InitControls() CurrForm."No.".VISIBLE(YourStatus); CurrForm."No. 2".VISIBLE(YourStatus); CurrForm.Description.VISIBLE(not YourStatus); CurrForm."Search Description".VISIBLE(not YourStatus); CurrForm."Description 2".VISIBLE(not YourStatus);
RegardsDo you make it right, it works too!0 -
I had to do something similar to this, and ended up making a subform for each 'tab', and textboxes for each tab header, and then filling in the textboxes dynamically based on setup, and then hiding the unused subforms if they were not needed.
It was on the item card, the user needed to see a list of prices for each state, and based on how many states were setup determined how many tabs appeared.
So this might be the way to go, but if the customer wanted this sort of thing on every tab control on every form in the system then I would not go down that road.
-a0 -
WoF wrote:Next time i attend some courses and i will ask the teachers after this. I will post the answer here in about 1 month.
There is one way to simulate tabs, and that is to use subforms and buttons, pretty much the way the old menu forms in Navision used to work. By placing the buttons and subforms in a certain way, you can make it kind of look like it's a tab control, and that way you can take control over what is visible, and even where to place the buttons. This is not part of the standard guidelines though.0 -
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions