Changing cursor start position in a page

poppins
Member Posts: 647
Hi everyone,
I have a custom page with two text box filters and then a repeater.
When I open the page, the cursor is by default in the first line of the repeater.
I want it to be in the first text box filter.
How can I achieve that?
Thanks in advance
I have a custom page with two text box filters and then a repeater.
When I open the page, the cursor is by default in the first line of the repeater.
I want it to be in the first text box filter.
How can I achieve that?
Thanks in advance

0
Comments
-
You can write a line CurrFrom."No.".ACTIVATE or use NextControl property of controls.0
-
nav_development wrote:You can write a line CurrFrom."No.".ACTIVATE or use NextControl property of controls.0
-
Ohh..Sorry to misunderstood your question.
I never tried in RTC but have gone through some help and find that changing focus in RTC is bit complex, need to work on add ins.0 -
I've found this add-in in the download section
http://www.mibuso.com/dlinfo.asp?FileID=1381
Generally, it works quite good, but there is only one inconvenient:
I want the field "Focus" not to appear on the page, but if I simply put it to VISIBLE=FALSE, the cursor change doesn't work anymore.
How can I hide the field and still get the cursor change to work?
Thanks in advance0 -
Another problem I have:
My page contains also a subpage.
I need that when the cursor is on the last line of the subpage, it moves then automatically to the repeater.
How can I do that0 -
I have followed exactly the steps to implement the dll Ahead NAV2015 but I get the following error message:
"An error occurred while making the control application for insertion "Ahead_EXFocus; PublicKeyToken = 41567e7a458383d3". Error message: The purpose of a call caused an exception"
The path that is given to place the dll is "c:\program files\Microsoft Dynamics NAV\60\RoleTailored Client\Add-ins".
I tried also to put the dll into 'path' 80, 70, Program Files (x86), Service\Add-ins but did doesn't sense.
What goes wrong?0 -
It is me again, is there any chance that someone found a solution to be able to control the focus move from subpage to the main page?0
-
You would have to implement C/AL (using .NET component) somewhere on the subpage that sends a keystroke to the client. Like SHIFT+F60
-
thanks and appreciated for the answer. but Still I am facing same problem after applying your solution.
What is the real time scenario:-IN Transfer Order Page I created a additional field for Barcode on Header part. Now I want to scan barocode to add lines in Transfer Line Subform (to add lines i created a function so that is not a problem). So, to keep scanning in barcode textbox i want my cursor should not move from barcode text box. When i enter on it, cursor moves in transfer line subform. which I do not want.
Please help.
thanks and regards
Kunwar Naresh
0 -
You should use SubPage instead of Repeater, then when you open page, cursor will be set on first editable field in header.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