---
title: "[Problem and solution] Right-to-left menus get scrambled when form is maximized"
url: "https://osherove.com/blog/2004/6/7/problem-and-solution-right-to-left-menus-get-scrambled-when.md"
canonical: "https://osherove.com/blog/2004/6/7/problem-and-solution-right-to-left-menus-get-scrambled-when.html"
published: "2004-06-07T17:45:00"
updated: "2004-06-07T17:45:00"
tags: [".Net Original"]
author: "Roy Osherove"
description: "Lots of weird things happen when you try to develop a right-to-left internationalized software package. For example, You *think* your menus on the main form are fine, in a right-to-left state, but when you *maximize*…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# \[Problem and solution\] Right-to-left menus get scrambled when form is maximized

By Roy Osherove June 7, 2004 In [.Net Original](https://osherove.com/blog/category/net-original)

**Historical article** · Originally published June 7, 2004; technical details may be outdated.

Lots of weird things happen when you try to develop a right-to-left internationalized software package.

For example, You \*think\* your menus on the main form are fine, in a right-to-left state, but when you \*maximize\* the form all the menus suddenly are re-ordered left-to-right. Like magic.

**How to fix it** - though it seems really stupid- it works. In this example I am making my form maximized from code along with the lines that changes the menus back to their rightful state:

private void Form1\_Load(object sender, System.EventArgs e)

{

this.WindowState = FormWindowState.Maximized;

// WORKAROUND RightToLeft Problem

this.OnRightToLeftChanged(EventArgs.Empty);

}

## More in .Net Original

[All posts in .Net Original](https://osherove.com/blog/category/net-original)

- Jun 13, 2004

    ### [Unit Testing in Whidbey - some pointers for improvement](https://osherove.com/blog/2004/6/13/unit-testing-in-whidbey-some-pointers-for-improvement.html)

- Jun 12, 2004

    ### [Writing a VS.Net Add-in, ugh](https://osherove.com/blog/2004/6/12/writing-a-vsnet-add-in-ugh.html)

- Jun 7, 2004

    ### [Israeli Blogger Dinner postponed](https://osherove.com/blog/2004/6/7/israeli-blogger-dinner-postponed.html)

- Jun 4, 2004

    ### [VB is rubbish? rubbish.](https://osherove.com/blog/2004/6/4/vb-is-rubbish-rubbish.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
