rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.SetCurrentBulletInfo

Top  Previous  Next

Changes properties for the item at the position of caret, if this item is a bullet or hotspot.

procedure SetCurrentBulletInfo(const AName: TRVAnsiString

  AImageIndex: Integer; AImageList: TCustomImageList;

  const ATag: TRVTag);

SetCurrentBulletInfo(...) is equivalent to TopLevelEditor.SetBulletInfoEd(TopLevelEditor.CurItemNo, ...).

This method can be used if CurItemStyle returns rvsBullet or rvsHotspot.

Parameters:

AName – name of bullet, any string without line break (CR, LF) characters. It can also be set using SetCurrentItemText method.

AImageList – not used, reserved, set it to nil.

AImageIndex – index of image in image list. It can also be set using SetCurrentItemExtraIntPropertyEx method.

ATag tag of the item. You can use value returned by GetCurrentBulletInfo or GetCurrentTag for this item. The tag can also be set by SetCurrentTag method.

 

Method type: editstyle editing-style.

Additional item properties are assigned by the methods SetCurrentItemExtraIntProperty and SetCurrentItemExtraStrProperty.

unicode Unicode note: names of non-text items are ANSI strings.
 

See also methods:

GetCurrentBulletInfo;

SetBulletInfoEd.

See also properties:

CurItemNo;

CurItemStyle.

See also:

Modifying RichView items;

Item types;

"Tags".


TRichView © trichview.com