hi, the topic title pretty much says it all: I have made a Form for the Classic interface which makes use of ACTIVATE() and NextControl; basically, they are needed because I need that, at an editbox OnAfterInput() (when user presses ENTER), the content of the editbox has to be used as input for another method, then the editbox has to be blanked, and the focus has to be set on the editbox itself again.
ACTIVATE() is used to update (i.e.: blank) the control, while NextControl is set to the same ID of the editbox in order to set the focus to the editbox itself again.
however, I have found out that unfortunately neither NextControl or ACTIVATE() are available in the RTC interface, so I'm stuck.
Do you have any alternate idea for this?
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
my problem is that I wanted to support the insertion of data by bar-code readers using keyboard emulation in batch mode: these readers usually separate each bar-code with an ENTER key, so what I need is basically a way to reset the focus to the editbox where the bar-codes are written each time a new bar-code is inserted; this is possible on the Classic GUI using the NextControl property and I really see no reason for which this could not be made under a web page too.
1) RTC Page is not web page ;-)
2) Right now, there is no standard way how to manage that
3) You can use addin to create such a editbox, which will call your trigger and will keep the focus where it is. Creating addin is not so hard, just look at the blogs...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
Has anyone does this successfuly?
A large part of NAV's success up to 2009 was the fact that it was a rapid development environment with full access to the application code and the ability to control ALMOST anything...in short, incredible flexibility. Seeing those benefits falling off with the RTC scares me. I look forward to a client asking me to develop this sort of functionality (requiring focus/activate control) and me having to tell them it will take a bunch of time as we need to develop add-ins to pull it off. That for something that would have taken a matter of minutes in the classic client...scary.
Don't get me wrong. I'm not just here to bash the RTC. BUT, there are some basic areas where it clearly is deficient and capabilities need to be added back sooner rather than later. While Navision 2.0 may have been lacking in a lot of functional capabilities, it was still ahead in terms of user interface control in a lot of ways. Again I say...scary.
http://www.epimatic.com
Thankfully there is always the good old classic client that can be implemented in the cases where a client absolutely needs that functionality (like barcoding or other simplified UI requirements).
Epimatic Corp.
http://www.epimatic.com
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I guess I just see this as a case of functionality that was useful being removed so that we could have the new look and feel as well as the 3 tier architecture. Hopefully there's more than enough positives of the new RTC to make up for the loss of something like this but clearly it's up for debate!
Epimatic Corp.
http://www.epimatic.com