|
<< Click to display table of contents >> TRVStyle.OnStyleHoverSensitive |
In this event you can define whether TRichView should redraw itself when the mouse pointer moves in or out of the area of text of the StyleNo-th style.
property OnStyleHoverSensitive: TRVStyleHoverSensitiveEvent;
type
TRVStyleHoverSensitiveEvent =
procedure (Sender: TRVStyle;
StyleNo: Integer;
var Sensitive: Boolean) of object;
(introduced in version 1.3)
This event occurs only for hypertext styles.
Input parameters:
Sender – TRVStyle generating the event.
StyleNo – index of text style in TextStyles collection.
Sensitive – True if for the given text style:
▪HoverEffects <> [] or
▪HoverBackColor <> BackColor or
▪HoverColor <> rvclNone or
▪HoverUnderlineColor <> rvclNone
False otherwise.
Output parameters:
Set Sensitive to True is you want to draw a special effect for "hot" (under the mouse pointer) text for this text style.
See also events:
See also properties:
▪rvteHighlightable in Options of text style (allows highlighting non-hypertext text items)