Discussions
Activity
Best Of...
Sign In
·
Register
Home
›
NAV/Navision Classic Client
Howdy, Stranger!
It looks like you're new here. Sign in or register to get started.
Sign In
Register
Quick Links
Categories
Recent Discussions
Activity
Best Of...
Unanswered
Categories
All Categories
73
General
73
Announcements
66.6K
Microsoft Dynamics NAV
18.6K
NAV Three Tier
38.4K
NAV/Navision Classic Client
3.6K
Navision Attain
2.4K
Navision Financials
115
Navision DOS
854
Navision e-Commerce
1K
NAV Tips & Tricks
772
NAV Dutch speaking only
615
NAV Courses, Exams & Certification
2K
Microsoft Dynamics-Other
1.5K
Dynamics AX
298
Dynamics CRM
109
Dynamics GP
10
Dynamics SL
1.5K
Other
993
SQL General
384
SQL Performance
34
SQL Tips & Tricks
34
Design Patterns (General & Best Practices)
Architectural Patterns
10
Design Patterns
5
Implementation Patterns
53
3rd Party Products, Services & Events
1.7K
General
1.1K
General Chat
1.6K
Website
79
Testing
1.2K
Download section
23
How Tos section
259
Feedback
12
NAV TechDays 2013 Sessions
13
NAV TechDays 2012 Sessions
Select the tab to display when a form opens
tompynation
Member
Posts:
398
2008-08-11
edited 2008-08-12
in
NAV/Navision Classic Client
If we cant hide tabs, is it then possible to declare which tab should be selected when the forms opens?
0
Answers
einsTeIn.NET
Member
Posts:
1,050
2008-08-11
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
Savatage
Member
Posts:
7,142
2008-08-11
http://www.mibuso.com/forum/viewtopic.php?t=23915
Harry Ruiz
http://www.BiloBeauty.com
http://www.autismspeaks.org
0
tompynation
Member
Posts:
398
2008-08-12
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 firsttabpage
0
Luc_VanDyck
Member, Moderator, Administrator
Posts:
3,633
2008-08-12
Maybe you can use this tip:
Opening a form always jumps to the subform control
No support using PM or e-mail - Please use this forum.
BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
0
tompynation
Member
Posts:
398
2008-08-12
no that doesnt solve it either
0
garak
Member
Posts:
3,263
2008-08-12
edited 2008-08-12
I doesn't understand you.
With
CurrForm.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
tompynation
Member
Posts:
398
2008-08-12
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.RUNMODAL
0
einsTeIn.NET
Member
Posts:
1,050
2008-08-12
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
tompynation
Member
Posts:
398
2008-08-12
allright, Einsteint you are the man =D>
Finally working now \:D/
0
Sign In
or
Register
to comment.
Answers
http://www.BiloBeauty.com
http://www.autismspeaks.org
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 firsttabpage
With you set the focus on your subform (but check also property SaveControlInfo). Whatever in which Tab the control is designd.
but it doesnt work when i call the form by using
FORM.RUNMODAL
Set property SaveControlInfo to No.
Finally working now \:D/