Value Set Styles
Styles Tab
- The Value Set Styles dialog allows you to
set the number of rows and columns, as well as enter the
options, styles, ID and value of the value set. There are
Cancel and
Enter buttons along the bottom
of the dialog box.
Default items:
- Bitmap treats each value
set item as a bitmap. This is the default.
- Icon treats the value set
item as an icon
- Text treats each value
set item as text
- Color info treats each
value set item as a RGB color value
- Color indices treats each
value set item as an index in the logical color table
Options:
- Border places a thin
border around the value set to allow it to delineate the
control
- Item border places a thin
border around each value set item to delineate it from
the other items. Note: The VS_ITEMBORDER style is
useful for items that are hard to see, such as faint
colors or patterns.
- Scale bitmaps causes the
value set to automatically scale bitmaps to the size of
the cell
- Right to left ordering causes
the value set to interpret column orientation as
right-to-left, instead of the default left-to-right
arrangement. There is no visible difference between a
value set ordered left-to-right and a value set ordered
right-to-left. Therefore, if your application uses
multiple value sets, the ordering of the items should be
consistent in each value set to avoid confusing the user.
Note: The VS_RIGHTTOLEFT style is used on creation
of the control. Changing this style after creation causes
unexpected results.
- Owner Draw notifies the
application whenever the background of the value set
window is painted
Base Styles
Font
& Color Tab contains only a dialog tab
Bidi Tab (only available with Warp)