Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PosNameTypeDescriptionDefault
<1>Colors used when editline is at rest
<1, 1>Border Outer ColorColor FillBorders are two pixels thick. This is the color used to render the outermost pixels around the border."3DShadow"
<1, 2>Border Inner ColorColor FillBorders are two pixels thick. This is the color used to render the innermost pixels around the border."Window"
<1, 3>Option/Combo Button ColorColor FillThe color used to render the option button or combo box button, if there is one."Window"
<1, 4>Dropdown Arrow ColorColor FillThe color used to render the option button or combo box button arrow, presuming no button image was specified."Black"
<1, 5>Option/Combo PaddingIntegerThe number of pixels between the button and the edges of the control.0
<2>Colors used when editline has focus
<2, 1>Border Outer ColorColor FillBorders are two pixels thick. This is the color used to render the outermost pixels around the border."3DShadow"
<2, 2>Border Inner ColorColor FillBorders are two pixels thick. This is the color used to render the innermost pixels around the border."Window"
<2, 3>Option/Combo Button ColorColor FillThe color used to render the option button or combo box button, if there is one."Window"
<2, 4>Dropdown Arrow ColorColor FillThe color used to render the option button or combo box button arrow, presuming no button image was specified."Black"
<2, 5>Option/Combo PaddingIntegerThe number of pixels between the button and the edges of the control.0
<3>Colors used when editline is hot
<3, 1>Border Outer ColorColor FillBorders are two pixels thick. This is the color used to render the outermost pixels around the border."3DShadow"
<3, 2>Border Inner ColorColor FillBorders are two pixels thick. This is the color used to render the innermost pixels around the border."Window"
<3, 3>Option/Combo Button ColorColor FillThe color used to render the option button or combo box button, if there is one."Window"
<3, 4>Dropdown Arrow ColorColor FillThe color used to render the option button or combo box button arrow, presuming no button image was specified."Black"
<3, 5>Option/Combo PaddingIntegerThe number of pixels between the button and the edges of the control.0
<4>Colors used when editline is disabled
<4, 1>Border Outer ColorColor FillBorders are two pixels thick. This is the color used to render the outermost pixels around the border."3DShadow"
<4, 2>Border Inner ColorColor FillBorders are two pixels thick. This is the color used to render the innermost pixels around the border."Window"
<4, 3>Option/Combo Button ColorColor FillThe color used to render the option button or combo box button, if there is one."Window"
<4, 4>Dropdown Arrow ColorColor FillThe color used to render the option button or combo box button arrow, presuming no button image was specified."Black"
<4, 5>Option/Combo PaddingIntegerThe number of pixels between the button and the edges of the control.0

...

Don't let the big multi-valued structure of this property scare you. It's really quite simple. The example below shows how easy it is to create a green themed editline with a dropdown button.

The editline at restImage RemovedImage Added

The editline with the mouse hovering over itImage RemovedImage Added

The editline with the mouse over the buttonImage RemovedImage Added

For the border, you specify two colors: one for the outer border and one for the inner border. Editline borders are 2 pixels thick, and allowing you specify both the out pixels and the inner pixels separately gives you greater control over the final look and feel. So, in the above images, we used two different colors for the border. We used "Green" for the outer pixel and "Window" for the inner border. This makes the border look thin when it doesn't have focus. For the other states, however, we made both the inner and outer pixels "Green" so that the editline stands out to the user.

...