Skip to content

Commit ec88f1a

Browse files
committed
[+] TagStr
1 parent 7730d52 commit ec88f1a

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

DzHTMLText2.pas

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ TDHTagSupParams = class(TPersistent)
411411
{$endregion TDHTagSupParams}
412412

413413

414-
{$region ' --- TDzHTMLText --- '}
414+
{$region ' --- TDzHTMLText2 --- '}
415415
TDzHTMLText2 = class(TGraphicControl)
416416
private
417417
FAbout: String;
@@ -456,6 +456,7 @@ TDzHTMLText2 = class(TGraphicControl)
456456
FTagSUPParams: TDHTagSupParams;
457457

458458
FPngCollection: TDzPngCollection;
459+
FTagStr: string;
459460

460461
procedure SetText(const Value: String);
461462
procedure SetAutoHeight(const Value: Boolean);
@@ -490,7 +491,8 @@ TDzHTMLText2 = class(TGraphicControl)
490491
procedure SetTagSUPParams(const Value: TDHTagSupParams);
491492

492493
procedure SetPngCollection(const Value: TDzPngCollection);
493-
//procedure SetTransparent(const Value: Boolean);
494+
495+
procedure SetTagStr(const Value: string); //procedure SetTransparent(const Value: Boolean);
494496
protected
495497
procedure Loaded; override;
496498
procedure Paint; override;
@@ -593,8 +595,9 @@ TDzHTMLText2 = class(TGraphicControl)
593595
property TagSUBParams: TDHTagSubParams read FTagSUBParams write SetTagSUBParams;
594596
property TagSUPParams: TDHTagSupParams read FTagSUPParams write SetTagSUPParams;
595597
property PngCollection: TDzPngCollection read FPngCollection write SetPngCollection;
598+
property TagStr: string read FTagStr write SetTagStr;
596599
end;
597-
{$endregion TDzHTMLText}
600+
{$endregion TDzHTMLText2}
598601

599602

600603

@@ -1333,6 +1336,11 @@ procedure TDzHTMLText2.SetTagLIParams(const Value: TDHTagLI1Params);
13331336
PropsChanged(Self);
13341337
end;
13351338

1339+
procedure TDzHTMLText2.SetTagStr(const Value: string);
1340+
begin
1341+
FTagStr := Value;
1342+
end;
1343+
13361344
procedure TDzHTMLText2.SetTagSUBParams(const Value: TDHTagSubParams);
13371345
begin
13381346
FTagSUBParams := Value;

0 commit comments

Comments
 (0)