The visual feedback when the mouse hovers over an item
Usage
Set_Property(OLECtrlEntID, "OLE.HotTrackStyle", OptionValue)
Values
OptionValue can be set to one of the following valid options:
Value | Abbr. | Description |
---|---|---|
Default | D | Uses the Theme's default hot track style |
Text | T | The text becomes underlined, but only if the mouse if over the text |
Image | I | The image itself is surrounded by a selection rectangle |
Item | T | The image and text are surrounded by a selection rectangle |
None | N | Items do not respond to mouse hovering |
Default: Default
Remarks
The HotTrackStyle property is the visual style informing the user when item will respond when the mouse is clicked. In addition to the several styles available, you may specify the value "Default". When set to default, the hot track style used is determined by the theme established in the Theme property.
Here is a visual representation of the available hot track styles:
Example
// Use a fixed hot track style Set_Property(@Window:".OLE_SHORTCUTBAR", "OLE.HotTrackStyle", "Item") // Use the theme's hot track style Set_Property(@Window:".OLE_SHORTCUTBAR", "OLE.HotTrackStyle", "Default") // Don't use any hot tracking Set_Property(@Window:".OLE_SHORTCUTBAR", "OLE.HotTrackStyle", "None")