Unit ColorPanel |
************************************************** TColorPanel->TCustomPanel A panel that uses a palette handle provided by a TColorPalette to render itself in 256 colors. Properties BlackOutline Determines whether a single pixel, black outline will surround the control. ColorIndex The palette index of the panel's color. ColorIndexFont The palette index of the panel's font color. ColorIndexFontDisabled The palette index of the panel's font color when disabled. ColorIndexFontRollover The palette index of the panel's font color when the mouse is moved over the control (if Rollover is TRUE). ColorIndexHilight The palette index of the panel's highlight border color. ColorIndexShadow The palette index of the panel's shadow border color. ColorPalette The TColorPalette component that this panel will use. Rollover Whether or not the panel supports a "rollover" effect when the mouse is moved over it. Procedures ColorPanelActivate The form should call this procedure in its OnActivate handler. It makes sure that all TColorPanels are properly rendered. ColorPanelMouseMove Controls should call this procedure in their OnMouseMove handler. It handles the rollover effect when moving off of TColorPanels.
Classes |
TColorIndexEditor -
TColorPanel -
Functions |
ColorPanelActivate - **************************************************
OnActivate of the Form should call this procedure,
which makes sure all color panels are properly rendered.
ColorPanelMouseMove - **************************************************
The other controls of the form should call this method
on their MouseMove events to ensure that the rollover
is properly terminated.
Register -
Types |
Constants |
Variables |
Functions |
Types |
Constants |
Variables |