Listviews switch places

2019-06-26 07:57发布

I have a winforms UserControl (UC) with a TableLayoutPanel (TLP). This panel has 2 columns and 1 row and is docked to fill the whole UC. Inside each column in the TLP I have a GroupBox, which is also set to dock.Fill. Last I have a ListView inside each group box which is also docked to fill.

I have list view A in the left column and list view B in the right column. I have tested my application on several computers without any problems. But on one computer list views get switched, so they are displayed: B | A instead of A | B

Does anybody have an idea to what could be causing this.

I apologize if the explanation is fuzzy or this is some trivial thing, I just never experienced this before.

1条回答
何必那么认真
2楼-- · 2019-06-26 08:15

Try make form property RightToLeft = true. I tested this and succeeded.

查看更多
登录 后发表回答