LCL: fpgui: implemented panel settext

git-svn-id: trunk@48613 -
This commit is contained in:
mattias 2015-04-03 21:39:46 +00:00
parent d79190d24b
commit f5eb0d6d7b

View File

@ -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);