Skip to content

Commit f0822c4

Browse files
committed
Adding TCustomPresentedFramedVertScrollBox wrapper
1 parent b720526 commit f0822c4

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

Source/fmx/WrapFmxScrollBox.pas

+29
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,16 @@ TPyDelphiPresentedFrameScrollBox = class(TPyDelphiCustomPresentedFrameScrollBo
8686
property DelphiObject: TPresentedFramedScrollBox read GetDelphiObject write SetDelphiObject;
8787
end;
8888

89+
TPyDelphiCustomPresentedFramedVertScrollBox = class(TPyDelphiCustomPresentedVertScrollBox)
90+
private
91+
function GetDelphiObject: TCustomPresentedFramedVertScrollBox;
92+
procedure SetDelphiObject(const Value: TCustomPresentedFramedVertScrollBox);
93+
public
94+
class function DelphiObjectClass : TClass; override;
95+
// Properties
96+
property DelphiObject: TCustomPresentedFramedVertScrollBox read GetDelphiObject write SetDelphiObject;
97+
end;
98+
8999
implementation
90100

91101
uses
@@ -124,6 +134,7 @@ procedure TScrollBoxRegistration.RegisterWrappers(
124134
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiPresentedHorzScrollBox);
125135
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCustomPresentedFrameScrollBox);
126136
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiPresentedFrameScrollBox);
137+
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCustomPresentedFramedVertScrollBox);
127138
end;
128139

129140
{ TPyDelphiCustomPresentedScrollBox }
@@ -270,6 +281,24 @@ procedure TPyDelphiPresentedFrameScrollBox.SetDelphiObject(
270281
inherited DelphiObject := Value;
271282
end;
272283

284+
{ TPyDelphiCustomPresentedFramedVertScrollBox }
285+
286+
class function TPyDelphiCustomPresentedFramedVertScrollBox.DelphiObjectClass: TClass;
287+
begin
288+
Result := TCustomPresentedFramedVertScrollBox;
289+
end;
290+
291+
function TPyDelphiCustomPresentedFramedVertScrollBox.GetDelphiObject: TCustomPresentedFramedVertScrollBox;
292+
begin
293+
Result := TCustomPresentedFramedVertScrollBox(inherited DelphiObject);
294+
end;
295+
296+
procedure TPyDelphiCustomPresentedFramedVertScrollBox.SetDelphiObject(
297+
const Value: TCustomPresentedFramedVertScrollBox);
298+
begin
299+
inherited DelphiObject := Value;
300+
end;
301+
273302
initialization
274303
RegisteredUnits.Add(TScrollBoxRegistration.Create);
275304

0 commit comments

Comments
 (0)