Listviews switch places

我与影子孤独终老i 提交于 2019-12-12 12:06:53

问题


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:


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



来源:https://stackoverflow.com/questions/20542888/listviews-switch-places

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!