09-26-2018, 07:46 AM
Hi LozenSzendre,
The TIWBSRegion only gives an option for div, h1..h6 and p while TIWBSCustomRegion has full options in the form of a string TagName... I don't see the reason for this enumeration either. You can of course create your own component.
Other simple workaround for this moment is using OnHTMLTag event
The TIWBSRegion only gives an option for div, h1..h6 and p while TIWBSCustomRegion has full options in the form of a string TagName... I don't see the reason for this enumeration either. You can of course create your own component.
Other simple workaround for this moment is using OnHTMLTag event
Code:
procedure TFrame2.IWFrameRegionHTMLTag(ASender: TObject; ATag: TIWHTMLTag);
begin
ATag.Tag := 'span';
end;