Tab Control Issue

Jube0512
Member Posts: 21
Hi all,
I have a problem in my tab control which have 4 tabs,
When i open the form, it always focus on the 4th tab.
How can i focus on the 1st tab when open the form?
Help \:D/
I have a problem in my tab control which have 4 tabs,
When i open the form, it always focus on the 4th tab.
How can i focus on the 1st tab when open the form?
Help \:D/
0
Comments
-
hi
i think you have set Activecontrolonopen property of form. remove it.
then you will find that first tab automatically focus when u run a form.
hope it helps.
Regards,Experience Makes Man Perfect....
Rajesh Patel0 -
Thanks for your reply.
But, Activecontrolonopen is in default value: <0>
any idea or work around?0 -
i think that tab control will open previously opened tab by default. if u want to set it to first tab then copy the id of control placed on first tab. then paste it to activecontrolonopen of form. think this might be work.Experience Makes Man Perfect....
Rajesh Patel0 -
Still not work ><
Actually in each tab, there is suform.
each subform has 'SubFormLink' linked.
I found that if i erase the subformlink, the tab control works fine.
The tab is pointing to the first one when open form.
What can i do if i need the subformlink and also the tab control works great?0 -
if possible move that subform to first tab.Experience Makes Man Perfect....
Rajesh Patel0 -
I have had the same problem, but haven't found a solution.
It happens only when the subform does not have any records.
As if the OnNewRecord trigger stops something ... ?
(NAV 3.70)
Navision recommends not using subforms on a tab control.Keep It Simple and Stupid (KISS), but never oversimplify.0 -
On the forms of the subforms, you need to put form-property DelayedInsert=Yes to avoid the problem.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Thanks, that works!Keep It Simple and Stupid (KISS), but never oversimplify.0
-
Hi all,
I have fixed it by add a new function in subform which setrange the record. Parent form will call this function at OnOpen. Then i remove the subform link. :P
It works ^^0 -
Jube0512 wrote:Hi all,
I have fixed it by add a new function in subform which setrange the record. Parent form will call this function at OnOpen. Then i remove the subform link. :P
It works ^^
But why do such a complex solution when Kriki offers an ideal simple solution that works and is the recommended method?David Singleton0 -
David Singleton wrote:Jube0512 wrote:Hi all,
I have fixed it by add a new function in subform which setrange the record. Parent form will call this function at OnOpen. Then i remove the subform link. :P
It works ^^
But why do such a complex solution when Kriki offers an ideal simple solution that works and is the recommended method?Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!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