Microsoft Dynamics GP Developing for Dynamics GP
A blog dedicated to the Microsoft Dynamics GP Developer & Consultant community
 
Welcome to MSDN Blogs Sign in | Join | Help

Developing for Dynamics GP

by David Musgrave (Australia) and the Microsoft Dynamics GP Developer Support Team (USA)

News

  • Please use the Blog Feedback? - Contact Us link at the top of the page to email questions relating to the blog itself.

    If you wish to ask a technical question, please use the links below to ask on the Newsgroups. If you ask on the Newsgroups, others in the community can respond and the answers are available for everyone in the future.

    Please do not use comments on pages and posts to ask questions unrelated to the topic on that page or post.



    Dates of Interest:

    11-Jul-2008: Blog Created by David Musgrave.
    10-Oct-2008: First Post by Scott Stephenson.
    04-Nov-2008: First Post by Dave Dusek.
    11-Nov-2008: First Post by Beth Gardner.
    28-Nov-2008: First Post by Chris Roehrich.
    30-Dec-2008: First Post by Patrick Roth.
    24-Feb-2009: First Post by Greg Willson.
    22-Apr-2009: First Post by David Clauson.
    04-May-2009: First Post by Ryan Wigestrand.
    19-Jun-2009: First Post by Dawn Langlie.
    03-Jul-2009: First Post by Emily Halvorson.
    23-Sep-2009: Created Twitter account with blog feed.
    20-Nov-2009: First Post by Alice Newsam.



    WorldMaps Statistics since
    24-Feb-2009:




    Click for WorldMaps Stumbler



    Translator Tool:




    Social Networking

    Follow David Musgrave and the blog on:

    David Musgrave on Twitter

    David Musgrave on LinkedIn


    Disclaimer

    This blog is provided "AS IS" with no warranties, and confers no rights.

    The links in this blog may lead to third-party Web sites. Microsoft provides third-party resources to help you find customer service and/or technical support resources. Information at these sites may change without notice. Microsoft is not responsible for the content at any third-party Web sites and does not guarantee the accuracy of third-party information.

Contents

Favourite Posts

Blog Links

Newsgroups Links

Resources Links

How to Horizontally Flip the Windows

David MeegoFrom the Translating Dexterity Applications Series

So now we know how to translate the language, which is fine for a "western" language, but what about languages that are read from right to left rather than left to right; languages such as Hebrew and Arabic.

One of the reasons that I decided to put together a series of articles about translating Dexterity applications was due to the number of requests I had from partners in the Middle East wanting to translate the Microsoft Dynamics GP or add-on products into Arabic.

The big question was "How can I change the screens to be a mirror image or flipped so that they read from right to left?"

Well, you might not know it but there was an Arabic version of Great Plains Dynamics a long time ago and so there were some tools written into Dexterity to help flip the windows around.  As this is no longer supported, the option was hidden.

Below are the steps to flip the Windows in your application:

  1. Make a backup of your Development dictionary.
     
  2. Add the following line into your Dex.ini file for your Dexterity environment:
     
    FlipPrompts=TRUE
     
  3. Launch Dexterity Utilities.
     
  4. Select Utilities and the now exposed option, Flip Prompts.
     
  5. Select the name of your Development dictionary and click OK.
     
  6. Once the process is completed, close Dexterity Utilities.
     
  7. Open the now flipped Development dictionary with Dexterity.
     
  8. Now you will need to visit every window in the dictionary and fine tune the windows.
     
  9. That's all folks.

Here is the Sales Transaction Entry (SOP_Entry) window after it has been flipped:

Flipped SOP_Entry 

OK, I admit it, step 8 is a major task. I was trying to hide it so you would not notice.  To make sure that you don't have to manually repeat this every time you want to flip a dictionary, I suggest you record a series of macros of the changes made.  Then you can play the macros to remake the changes next time.

Some examples of the issues you will need to address are listed below:

  • The browse buttons on the window need to be swapped into the correct order.
     
  • Scrolling windows need to be shifted to the left by one grid position.
     
    I believe this is due to the changes made in the way scrolling windows were sized from version 6.00 onwards. In version 6.00, the size of the scrolling window included the scroll bar when prior versions did not include the scroll bar.  This was changed to allow themes which resized the scroll bars not to affect the overall size of the scrolling window.  The Flip Prompts utility was written before version 6.00.
     
  • Some of the fields inside Scrolling windows might need need to be re-positioned. 
     
    If you cannot see the field, check the properties by changing to the field using the drop down list at the top of the Properties window.  If the horizontal position is negative you will need to change it to make the field visible in the layout window again.

Below is an example of the Sales Transaction Entry (SOP_Entry) window with the mirrored fields and the Arabic translation:

Ararbic SOP Entry

Now while we are discussing Arabic systems, we should also talk about the Hijri date system.  Dexterity cannot support anything other than Gregorian dates (formatted as per the Control Panel's Regional Settings).  However, as my good friend Mariano Gomez shows, we can use Visual Basic for Applications (VBA) to show a Hijri date. Please see his post below for a technique and example code you can download and use.

Displaying Hijri dates in Microsoft Dynamics GP

Please let me know if you find this information useful. 

David

Posted: Friday, February 20, 2009 9:00 AM by David Musgrave

Comments

Mohammad R. Daoud said:

Thanks David, thats what were looking for long time ago :)

# February 20, 2009 5:25 AM

David Musgrave said:

# February 22, 2009 6:44 PM

David Musgrave said:

# February 23, 2009 10:56 PM

David Musgrave said:

# March 9, 2009 8:06 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker