Maybe, you can add some code in \Classes\SysSetupFormRun\task it is class which can control behaviou of all forms - try to discover the task number of create and scan active control if it is a grid and detect first field
On 9/9/07, Karel Vandenhove <[EMAIL PROTECTED]> wrote: > Thanks Max, > > Is there a way to make this generic, i.e. for all grids (without having to > override every single FormDataSource)? > > kind regards, > > Karel > > Karel Vandenhove > [EMAIL PROTECTED] > +32(0)478/32.49.39 > > > > ----- Original Message ---- > From: Max Belugin <[EMAIL PROTECTED]> > To: [email protected] > Sent: Thursday, September 6, 2007 12:00:37 PM > Subject: Re: [development-axapta] Select first field in grid on New Record > > try to override create method on the FormDataSOurce and call setFocus > method of the first field control of the grid > > On 9/5/07, Karel Vandenhove <karelvandenhove@ yahoo.com> wrote: > > Hi, > > > > Is it possible to have Dynamics AX automatticaly position the cursor in the > > first field of the new row after pressing Ctrl+N or Arrow-Down in a Grid? > > > > The default behavoir is that the cursor is positioned in the field that was > > active in the last row; this means that the user always has to back-tab to > > the first field. > > > > Kind regards, > > > > Karel Vandenhove > > karelvandenhove@ yahoo.com > > +32(0)478/32. 49.39 > > > > > > > > ____________ _________ _________ _________ _________ _________ _Ready for > > the edge of your seat? > > Check out tonight's top picks on Yahoo! TV. > > http://tv.yahoo. com/ > > > > [Non-text portions of this message have been removed] > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > -- > Max Belugin, http://belugin. info , ICQ:9406811 > > > > > > ____________________________________________________________________________________ > Luggage? GPS? Comic books? > Check out fitting gifts for grads at Yahoo! Search > http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz > > [Non-text portions of this message have been removed] > > > > > Yahoo! Groups Links > > > > -- Max Belugin, http://belugin.info , ICQ:9406811

