Occurs when custom tag is detected in formatting string.
property OnGetCustomElem: TGetCustomElemEvent;
Write OnGetCustomElem event handler to set formatting at the location of custom tag.
ItemIndex - specifies index of currently parsed item;
TagIndex - specifies index of custom tag in the item;
You may set next formatting parameters:
ImageIndex - specifies image to be placed at this position;
StyleIndex - specifies new style which will be used starting from this position;
Text - specifies text to be placed at the given position.
Note: It is possible to define all parameters simultaneously.