Explorar el Código

Solved Compiler Error on bcmaterialspinedit Cannot access a private field of an object here;

Massimo Magnano hace 10 meses
padre
commit
17f0fa2173
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      bcmaterialedit.pas

+ 2 - 1
bcmaterialedit.pas

@@ -16,7 +16,6 @@ type
   private
     FAccentColor: TColor;
     FDisabledColor: TColor;
-    FEdit: T;
     FLabel: TBoundLabel;
     FFocused: boolean;
     function IsNeededAdjustSize: boolean;
@@ -57,6 +56,8 @@ type
     procedure SetOnEditMouseWheelUp(AValue: TMouseWheelUpDownEvent);
     procedure SetOnEditUTF8KeyPress(AValue: TUTF8KeyPressEvent);
   protected
+    FEdit: T;
+
     function GetEditAlignment: TAlignment;
     function GetEditAutoSize: Boolean;
     function GetEditAutoSelect: Boolean;