rvico TRichView Reference | Types

TRVExtraItemStrProperty Type

Top  Previous  Next

Unit RVItem;

type

  TRVExtraItemStrProperty = (

    rvespUnknown,

    rvespHint,

    rvespAlt,

    rvespImageFileName,

    rvespTag);

Identifies item property of string type.

Default value for all properties is '' (empty string).

Property

Applicable To

Meaning

rvespUnknown


Not a property. For internal use.

rvespAlt

pictures

hot-pictures

bullets

hotspots

Text representation of image. Saved as "<img alt>" attribute in HTML files. Must not contain line breaks and double quotes.

rvespHint

all items (but not shown for controls and tables)

Popup hint can be displayed for items if rvoShowItemHints is included in RichView.Options and RichView.ShowHint=True.

Hints are displayed by assigning to RichView.Hint. See also OnItemHint event.

Note: this feature adds 4 bytes in memory to each item. If you do not need it, enable RVDONOTUSEITEMHINTS compiler define in RV_Defs.inc. After enabling this define, you can still use OnItemHint.

Hint string must not contain line breaks and double quotes. When exporting to HTML, it is exported as "title" attribute. For RTF, hints are exported and imported only for hyperlinks.

In OnWriteHyperlink event, the proper value of Extras parameter is set by default.

rvespImageFileName

pictures

hot-pictures

tables

Provides a place for storing image file name. For tables, it is a background image, also accessible as
table.BackgroundImageFileName.

See also: TRVTableCellData.BackgroundImageFileName

If rvsoUseItemImageFileNames is included in the Options parameter of SaveHTML/SaveHTMLEx, images with defined (non-empty) file names will not be saved, but their file names will be written in HTML (paths will be converted to relative paths).

In some cases, the component may assign this property, if rvoAssignImageFileNames is included in TRichView.Options.

rvespTag

all items

tag

See also

TRVExtraItemProperty

See also methods of TRichView

SetItemExtraStrProperty,

GetItemExtraStrProperty.

See also methods of TRichViewEdit

SetItemExtraStrPropertyEd,

SetCurrentItemExtraStrProperty,

GetCurrentItemExtraStrProperty.


TRichView © trichview.com