Gets or sets a value which determines whether the HoverColor property will be used. Smartclient-only.
object.UseHoverColor = [boolean]
Where object is an object expression that evaluates to one of the controls in the Applies To list, and boolean is a boolean expression that evaluates to either True or False, as described in Settings.
Newlook Smartclient
Newlook Server
Not supported if Material skin is enabled.
The command button's HoverColor and UseHoverColor properties are ignored if you have the Material skin enabled. Under material design, the button is always rendered with a drop shadow and a lighter shade of the current back color to indicate the hover state.
The HoverColor property allows you to set the control's text color when the user hovers over the control. The UseHoverColor property determines whether this property is applied or not.
The UseHoverColorsettings for the command button, label and menu button controls are :
Setting |
Description |
True |
The color assigned in the HoverColor property will render as the text color when the user hovers over the control. |
False |
(Default for command button) The color assigned in the HoverColor property will not display unless this is explicitly set to True. |
None. Supported in both Material and Classic skin.
The HoverColor property allows you to set the control's text color when the user hovers over the control. The UseHoverColor property determines whether this property is applied or not.
The UseHoverColorsettings for the label, menu button and option button controls are :
Setting |
Description |
True |
(Default for menu button control) The color assigned in the HoverColor property will render as the text color when the user hovers over the control. |
False |
(Default for label and picture box controls) The color assigned in the HoverColor property will not display unless this is explicitly set to True. |
HoverColor property | HoverPicture property
© 2004-2021 looksoftware. All rights reserved.