Hotspots in TRichView Documents

<< Click to display table of contents >>

Hotspots in TRichView Documents

"Hotspot" is a bullet (image from TImageList) with hypertext link.

Hotspots can change their image under the mouse pointer.

Style of this item type: rvsHotspot (-4)

Methods of TCustomRichView

The following viewer-style methods add item of this type to the end of the document:

AddHotspot.

The following viewer-style method changes the main properties of item of this type:

SetHotspotInfo

The following method returns main properties of the given item of this type:

GetHotspotInfo,

GetBulletInfo

Methods of TCustomRichViewEdit

The following editor-style method inserts item of this type at the position of caret:

InsertHotspot

The following editor-style methods modify main properties of the item of this type:

SetCurrentHotspotInfo,

SetHotspotInfoEd

The following method returns main properties of the item of this type at the position of caret:

GetCurrentHotspotInfo,

GetCurrentBulletInfo

Properties

Hotspots have all properties of bullets.

Image index below the mouse pointer can be changed by the methods listed above. It is also accessible as rveipcHotImageIndex property.

Memory Usage

RichView does not own this image-list, and it will not destroy it when clearing document.