Funny CheckBox

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
 
H

Herfried K. Wagner [MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top