Changeset 210 for branches/highdpi/Packages/CevoComponents/ButtonBase.pas
- Timestamp:
- May 9, 2020, 4:02:07 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Packages/CevoComponents/ButtonBase.pas
r179 r210 4 4 5 5 uses 6 Classes, Graphics, Controls, UDpiControls;6 UDpiControls, Classes, Graphics, Controls; 7 7 8 8 type 9 10 { TButtonBase }11 12 9 TButtonBase = class(TDpiGraphicControl) 13 10 protected … … 27 24 private 28 25 Active: boolean; 29 procedure SetGraphic(AValue: TDpiBitmap);30 26 public 31 27 constructor Create(aOwner: TComponent); override; 32 property Graphic: TDpiBitmap read FGraphic write SetGraphic;28 property Graphic: TDpiBitmap read FGraphic write FGraphic; 33 29 // property DownSound: string read FDownSound write FDownSound; 34 30 // property UpSound: string read FUpSound write FUpSound; … … 123 119 end; 124 120 125 procedure TButtonBase.SetGraphic(AValue: TDpiBitmap);126 begin127 if FGraphic = AValue then Exit;128 FGraphic := AValue;129 end;130 131 121 procedure TButtonBase.SetDown(x: boolean); 132 122 begin
Note:
See TracChangeset
for help on using the changeset viewer.