04-24-2020, 05:29 AM
Legend is a tag itself, not an attribute of the input tag. Legend most of the times is also part of a fieldset tag.
You can tell IWRegion to render itself as a Legend tag using OnHTMLTag event of the IWRegion:
procedure TIWForm1.IWRegion1HTMLTag(ASender: TObject; ATag: TIWHTMLTag);
begin
ATag.Tag := 'legend';
end;
The code in C++ is analogous.
You can tell IWRegion to render itself as a Legend tag using OnHTMLTag event of the IWRegion:
procedure TIWForm1.IWRegion1HTMLTag(ASender: TObject; ATag: TIWHTMLTag);
begin
ATag.Tag := 'legend';
end;
The code in C++ is analogous.

