Select the tab to display when a form opens

tompynation
Member Posts: 398
If we cant hide tabs, is it then possible to declare which tab should be selected when the forms opens?
0
Answers
-
No, but you can select a control which is on the tab you want to display."Money is likewise the greatest chance and the greatest scourge of mankind."0
-
-
this doesnt seem to be working for me...
I have 2 tabpages on my Main Form, each tabpage contains a subform...
Inside the subform on the first tab, the user has the opportunity to copy the rec. After the copy the same Main Form is opened again,
But now the second tabpage is selected... while it should be the first one.
I've added this to my OnOpenForm trigger of the main form:
CurrForm.POProductFormuleSub.ACTIVATE;
POProductFormuleSub is the subform on the firsttabpage0 -
Maybe you can use this tip: Opening a form always jumps to the subform controlNo support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
no that doesnt solve it either0
-
I doesn't understand you.
WithCurrForm.YourSubform.ACTIVATE;
you set the focus on your subform (but check also property SaveControlInfo). Whatever in which Tab the control is designd.Do you make it right, it works too!0 -
well, i have added that code to the Main Form his OnOpenForm trigger,
but it doesnt work when i call the form by using
FORM.RUNMODAL0 -
It has nothing to do with RUNMODAL. The problem is that the saved control view is applied after your code in OnOpenForm has been executed.
Set property SaveControlInfo to No."Money is likewise the greatest chance and the greatest scourge of mankind."0 -
allright, Einsteint you are the man =D>
Finally working now \:D/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