diff --git a/Source/uPSC_buttons.pas b/Source/uPSC_buttons.pas index a771d0a..1fa6a36 100644 --- a/Source/uPSC_buttons.pas +++ b/Source/uPSC_buttons.pas @@ -29,6 +29,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('GroupIndex', 'Integer', iptrw); RegisterProperty('Down', 'Boolean', iptrw); RegisterProperty('Caption', 'string', iptrw); @@ -55,6 +58,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('Glyph', 'TBitmap', iptrw); RegisterProperty('Kind', 'TBitBtnKind', iptrw); RegisterProperty('Layout', 'TButtonLayout', iptrw); diff --git a/Source/uPSC_controls.pas b/Source/uPSC_controls.pas index f8f23e4..d126e65 100644 --- a/Source/uPSC_controls.pas +++ b/Source/uPSC_controls.pas @@ -156,6 +156,10 @@ begin cl.addTypeS('TAnchorKind', '(akLeft, akTop, akRight, akBottom)'); cl.addTypeS('TAnchors','set of TAnchorKind'); {$ENDIF} + {$IFDEF FPC} + cl.addTypeS('TAnchorKind', '(akLeft, akTop, akRight, akBottom)'); + cl.addTypeS('TAnchors','set of TAnchorKind'); + {$ENDIF} cl.AddTypeS('TModalResult', 'Integer'); cl.AddTypeS('TCursor', 'Integer'); cl.AddTypeS('TPoint', 'record X,Y: LongInt; end;'); diff --git a/Source/uPSC_extctrls.pas b/Source/uPSC_extctrls.pas index 5557789..a14858e 100644 --- a/Source/uPSC_extctrls.pas +++ b/Source/uPSC_extctrls.pas @@ -41,6 +41,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('Brush', 'TBrush', iptrw); RegisterProperty('Pen', 'TPen', iptrw); RegisterProperty('Shape', 'TShapeType', iptrw); @@ -68,6 +71,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('Canvas', 'TCanvas', iptr); RegisterProperty('AutoSize', 'Boolean', iptrw); RegisterProperty('Center', 'Boolean', iptrw); @@ -99,6 +105,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('Canvas', 'TCanvas', iptr); RegisterProperty('Color', 'TColor', iptrw); RegisterProperty('Font', 'TFont', iptrw); @@ -131,6 +140,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('Shape', 'TBevelShape', iptrw); RegisterProperty('Style', 'TBevelStyle', iptrw); diff --git a/Source/uPSC_forms.pas b/Source/uPSC_forms.pas index b67ab31..a1f2dcf 100644 --- a/Source/uPSC_forms.pas +++ b/Source/uPSC_forms.pas @@ -52,6 +52,10 @@ begin RegisterProperty('Anchors', 'TAnchors', iptrw); RegisterProperty('Constraints', 'TSizeConstraints', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + RegisterProperty('Constraints', 'TSizeConstraints', iptrw); + {$ENDIF} RegisterProperty('BorderStyle', 'TBorderStyle', iptrw); RegisterProperty('Color', 'TColor', iptrw); RegisterProperty('Font', 'TFont', iptrw); @@ -101,6 +105,10 @@ begin RegisterProperty('Anchors', 'TAnchors', iptrw); RegisterProperty('Constraints', 'TSizeConstraints', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + RegisterProperty('Constraints', 'TSizeConstraints', iptrw); + {$ENDIF} RegisterProperty('BorderIcons', 'TBorderIcons', iptrw); RegisterProperty('BorderStyle', 'TFormBorderStyle', iptrw); RegisterProperty('Caption', 'NativeString', iptrw); diff --git a/Source/uPSC_stdctrls.pas b/Source/uPSC_stdctrls.pas index ee79ef6..6cd79f8 100644 --- a/Source/uPSC_stdctrls.pas +++ b/Source/uPSC_stdctrls.pas @@ -55,6 +55,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('Caption', 'string', iptrw); RegisterProperty('Color', 'TColor', iptrw); RegisterProperty('Font', 'TFont', iptrw); @@ -108,6 +111,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('AutoSize', 'Boolean', iptrw); RegisterProperty('Caption', 'string', iptrw); RegisterProperty('Color', 'TColor', iptrw); @@ -173,6 +179,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('AutoSelect', 'Boolean', iptrw); RegisterProperty('AutoSize', 'Boolean', iptrw); RegisterProperty('BorderStyle', 'TBorderStyle', iptrw); @@ -238,6 +247,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('Alignment', 'TAlignment', iptrw); RegisterProperty('BorderStyle', 'TBorderStyle', iptrw); RegisterProperty('Color', 'TColor', iptrw); @@ -311,6 +323,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('Color', 'TColor', iptrw); RegisterProperty('DropDownCount', 'Integer', iptrw); RegisterProperty('Font', 'TFont', iptrw); @@ -365,6 +380,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('Cancel', 'Boolean', iptrw); RegisterProperty('Caption', 'string', iptrw); RegisterProperty('Default', 'Boolean', iptrw); @@ -414,6 +432,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('Caption', 'string', iptrw); RegisterProperty('Checked', 'Boolean', iptrw); RegisterProperty('Color', 'TColor', iptrw); @@ -458,6 +479,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('Caption', 'string', iptrw); RegisterProperty('Checked', 'Boolean', iptrw); RegisterProperty('Color', 'TColor', iptrw); @@ -520,6 +544,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('BorderStyle', 'TBorderStyle', iptrw); RegisterProperty('Color', 'TColor', iptrw); RegisterProperty('Font', 'TFont', iptrw); @@ -573,6 +600,9 @@ begin {$IFDEF DELPHI4UP} RegisterProperty('Anchors', 'TAnchors', iptrw); {$ENDIF} + {$IFDEF FPC} + RegisterProperty('Anchors', 'TAnchors', iptrw); + {$ENDIF} RegisterProperty('Kind', 'TScrollBarKind', iptrw); RegisterProperty('Max', 'Integer', iptrw); RegisterProperty('Min', 'Integer', iptrw);