property Button.AllowHotState as Boolean
Specifies whether the control displays the hot state when the cursor is over the control.

 TypeDescription 
   Boolean A boolean expression that indicates whether the exHot state is displayed when the cursor is over the button.   
By default, the AllowHotState property is false. Use the Style property to specify the control's style. The Style property changes the AllowHotState and UseFocusSkin properties based on the style used. Use the Skin property to assign custom skins for specified states. If the AllowHotState property is True, the Skin(exHot) gets displayed when the cursor is over the button.

Please be aware that Style property changes the following properties, based on the style chosen: 

If you require certain value for the AllowHotState property you have to change the AllowHotState property after changing the Style property.

For instance, the exDefault predefined style for hot state ( when the cursor is over the button ).


Send comments on this topic.
1999-2015 Exontrol.COM, Software. All rights reserved.