Skip Navigation Links


© 2021 Ambica
Version: 1.3.2

Archive for March 2009

Friday, 27 March 2009

Windows Forms CheckBox Control Alignment in Visual Studio 2008 under Vista

Do you have checkbox controls in Windows Forms in Visual Studio 2008 where the text label uses a colon (:), e.g. Label: <checkbox>? If so, and you move from XP Pro to Vista, you may hit the same problem I did. The properties were (incorrectly) set to CheckAlign = MiddleLeft and RightToLeft = Yes. This resulted in the checkbox appearing as :Label <checkbox> in Vista whereas in XP Pro it 'worked'. Changing CheckAlign to MiddleRight and RightTioLeft to No fixes this issue.

# posted by admin @ 13:25   0 comments