File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,16 @@ TPyDelphiStyleBook = class(TPyDelphiFmxObject)
115115 property DelphiObject: TStyleBook read GetDelphiObject write SetDelphiObject;
116116 end ;
117117
118+ TPyDelphiPopup = class (TPyDelphiStyledControl)
119+ private
120+ function GetDelphiObject : TPopup;
121+ procedure SetDelphiObject (const Value : TPopup);
122+ public
123+ class function DelphiObjectClass : TClass; override;
124+ // Properties
125+ property DelphiObject: TPopup read GetDelphiObject write SetDelphiObject;
126+ end ;
127+
118128implementation
119129
120130type
@@ -683,6 +693,23 @@ procedure TPyDelphiStyleBook.SetDelphiObject(const Value: TStyleBook);
683693 inherited DelphiObject := Value ;
684694end ;
685695
696+ { TPyDelphiPopup }
697+
698+ class function TPyDelphiPopup.DelphiObjectClass : TClass;
699+ begin
700+ Result := TPopup;
701+ end ;
702+
703+ function TPyDelphiPopup.GetDelphiObject : TPopup;
704+ begin
705+ Result := TPopup(inherited DelphiObject);
706+ end ;
707+
708+ procedure TPyDelphiPopup.SetDelphiObject (const Value : TPopup);
709+ begin
710+ inherited DelphiObject := Value ;
711+ end ;
712+
686713initialization
687714 RegisteredUnits.Add(TControlsRegistration.Create);
688715
You can’t perform that action at this time.
0 commit comments