Forms opening up with focus in background?
If you work with an installation where forms in MS Dynamics AX are opened in the background then the following code fix might help out here: “Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose.