2.5.96.1 VariousPropertiesBitfield
Specifies the VariousPropertyBits property.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A |
B |
C |
D |
E |
UnusedBits1 |
F |
G |
H |
I |
J |
IMEMode |
K |
L |
M |
N |
O |
P |
Q |
R |
S |
T |
U |
V |
W |
A - Reserved1 (1 bit): MUST be set to 1 and MUST be ignored.
-
Applies to: CheckBox | ComboBox | CommandButton | Image | Label | ListBox | OptionButton | ScrollBar | SpinButton | TabStrip | TextBox | ToggleButton
B - Enabled (1 bit): Specifies whether the control can receive the focus and respond to user-generated events.
-
Applies to: CheckBox | ComboBox | CommandButton | Image | Label | ListBox | OptionButton | ScrollBar | SpinButton | TabStrip | TextBox | ToggleButton
C - Locked (1 bit): Specifies whether data in the control is locked for editing.
-
Applies to: CheckBox | ComboBox | CommandButton | ListBox | OptionButton | TextBox | ToggleButton
D - BackStyle (1 bit): Specifies the background style for this control. A value of 1 specifies that the control is opaque, and a value of zero specifies that the control is transparent. MUST be set to 1 for the following controls: ListBox, TabStrip, ScrollBar, SpinButton
-
Applies to: CheckBox | ComboBox | CommandButton | Image | Label | ListBox | OptionButton | ScrollBar | SpinButton | TabStrip | TextBox | ToggleButton
E - Reserved2 (1 bit): MUST be set to 1 and MUST be ignored.
-
Applies to: CheckBox | ComboBox | CommandButton | Image | Label | ListBox | OptionButton | ScrollBar | SpinButton | TabStrip | TextBox | ToggleButton
UnusedBits1 (5 bits): MUST be set to zero.
F - ColumnHeads (1 bit): Specifies whether column headings are displayed.
-
Applies to: ComboBox | ListBox
G - IntegralHeight (1 bit): For ListBox and TextBox controls, specifies whether the control shows only complete lines of text. MUST be set to 1 for the following controls: CheckBox, OptionButton, and ToggleButton.
-
Applies to: CheckBox | ListBox | OptionButton | TextBox | ToggleButton
H - MatchRequired (1 bit): Specifies whether a value entered into the TextBox part of a ComboBox is required to match an entry in the ListBox part of the control.
-
Applies to: ComboBox
I - Alignment (1 bit): Specifies the position of the Caption relative to the control. A value of 1 specifies that the Caption is to the left of the control, and a value of zero specifies that the Caption is to the right of the control.<15>
-
Applies to: CheckBox | OptionButton
J - Editable (1 bit): Specifies whether the user can type into the control. MUST be set to 1 for TextBox controls. MUST be set to 1 for ComboBox controls in which the DisplayStyle property is set to 0x03 (fmDisplayStyleCombo). SHOULD be set to zero for ComboBox controls in which the DisplayStyle property is set to 0x07 (fmDisplayStyleDropList), but MAY be set to 1, and MUST be ignored.<16>
-
Applies to: ComboBox | TextBox
IMEMode (4 bits): An fmIMEMode that specifies the default run-time mode of the Input Method Editor (IME) for the control as it receives focus.
-
Applies to<17>: CheckBox | ComboBox | CommandButton | Image | Label | ListBox | OptionButton | ScrollBar | SpinButton | TabStrip | TextBox | ToggleButton
K - DragBehavior (1 bit): Specifies whether dragging and dropping is enabled for the control.
-
Applies to: ComboBox | TextBox
L - EnterKeyBehavior (1 bit): Specifies the behavior of the ENTER key. A value of 1 specifies that pressing ENTER creates a new line. A value of zero specifies that pressing ENTER moves the focus to the next object in the tab order.
-
Applies to: TextBox
M - EnterFieldBehavior (1 bit): Specifies selection behavior when entering the control. A value of 1 specifies that the selection remains unchanged from the last time that the control was active. A value of zero specifies that all text in the control is selected when entering the control.
-
Applies to: ComboBox | TextBox
N - TabKeyBehavior (1 bit): Specifies whether tab characters can exist in the text of the control. A value of 1 specifies that pressing the TAB key inserts a tab character into the text of the control. A value of zero specifies that pressing the TAB key moves the focus to the next object in the tab order.
-
Applies to: TextBox
O - WordWrap (1 bit): Specifies whether the contents of the control automatically wrap at the end of a line. MUST be set to 1 for the following controls: ComboBox and ListBox.
-
Applies to: CheckBox | ComboBox | CommandButton | Label | ListBox | OptionButton | TextBox | ToggleButton
P - UnusedBits2 (1 bit): MUST be set to zero.
Q - BordersSuppress (1 bit): SHOULD be set to zero.<18>
-
Applies to: CheckBox | ComboBox | ListBox | OptionButton | TextBox | ToggleButton
R - SelectionMargin (1 bit): Specifies whether the user can select a line of text by clicking in the region to the left of the text. MUST be set to 1 for the following controls: CheckBox, ListBox, OptionButton, and ToggleButton.
-
Applies to: CheckBox | ComboBox | ListBox | OptionButton | TextBox | ToggleButton
S - AutoWordSelect (1 bit): Specifies the basic unit used to extend a selection. A value of 1 specifies that the basic unit is a single character. A value of zero specifies that the basic unit is a whole word. MUST be set to 1 for the following controls: CheckBox, ListBox, OptionButton, and ToggleButton.
-
Applies to: CheckBox | ComboBox | ListBox | OptionButton | TextBox | ToggleButton
T - AutoSize (1 bit): Specifies whether the control automatically resizes to display its entire contents.
-
This bit does not apply to the Image control and MUST be set to zero for that type of control. The Image control uses a separate AutoSize property that is stored in the ImagePropMask.
-
Applies to: CheckBox | ComboBox | CommandButton | Label | OptionButton | TextBox | ToggleButton
U - HideSelection (1 bit): Specifies whether selected text in the control appears highlighted when the control does not have focus. MUST be set to 1 for the following controls: CheckBox, ListBox, OptionButton, and ToggleButton.
-
Applies to: CheckBox | ComboBox | ListBox | OptionButton | TextBox | ToggleButton
V - AutoTab (1 bit): Specifies whether the focus automatically moves to the next control when the user enters the maximum number of characters specified by the MaxLength property.
-
Applies to: ComboBox | TextBox
W - MultiLine (1 bit): Specifies whether the control can display more than one line of text.
-
Applies to: TextBox