Funny CheckBox

  • Thread starter Thread starter Marius Horak
  • Start date Start date
M

Marius Horak

A small UserControl, just 5 TextBoxes and two CheckBoxes.

Design mode

AutoSize = False
CheckAlign = MiddleLeft
FlatStyle = Flat
RightToLeft = Yes
Size = 128, 20
Text = VIP (Holding Bay)
TextAlign = MiddleLeft

But in Runtime mode the Text is "(VIP (Holding Bay" (excluding quotes).
And there are no instructions to change the Text of the ComboBox in the
code.

MH
 
Marius Horak said:
A small UserControl, just 5 TextBoxes and two CheckBoxes.

Design mode

AutoSize = False
CheckAlign = MiddleLeft
FlatStyle = Flat
RightToLeft = Yes
Size = 128, 20
Text = VIP (Holding Bay)
TextAlign = MiddleLeft

But in Runtime mode the Text is "(VIP (Holding Bay" (excluding quotes).
And there are no instructions to change the Text of the ComboBox in the
code.


That's because of the 'RightToLeft' setting, I assume. This property is not
used to visually format the control but instead to make the control support
right-to-left languages.
 
Back
Top