mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 21:20:30 +02:00
LCL: fpgui: implemented panel settext
git-svn-id: trunk@48613 -
This commit is contained in:
parent
d79190d24b
commit
f5eb0d6d7b
@ -416,6 +416,7 @@ type
|
||||
function HasStaticText: Boolean; override;
|
||||
public
|
||||
{ Other methods }
|
||||
procedure SetText(const AText: String); override;
|
||||
function Panel: TfpgPanel;
|
||||
end;
|
||||
|
||||
@ -1678,6 +1679,12 @@ begin
|
||||
Result:=false;
|
||||
end;
|
||||
|
||||
procedure TFPGUIPrivateCustomPanel.SetText(const AText: String);
|
||||
begin
|
||||
inherited SetText(AText);
|
||||
Panel.Text := AText;
|
||||
end;
|
||||
|
||||
function TFPGUIPrivateCustomPanel.Panel: TfpgPanel;
|
||||
begin
|
||||
Result:=TfpgPanel(FWidget);
|
||||
|
Loading…
Reference in New Issue
Block a user