Changeset 464 for trunk/Packages/CevoComponents/ButtonBase.pas
- Timestamp:
- Nov 29, 2023, 6:25:22 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/ButtonBase.pas
r447 r464 7 7 8 8 type 9 10 { TButtonBase } 11 9 12 TButtonBase = class(TGraphicControl) 10 13 protected … … 25 28 private 26 29 Active: Boolean; 30 procedure SetGraphic(AValue: TBitmap); 27 31 public 28 32 constructor Create(aOwner: TComponent); override; 29 property Graphic: TBitmap read FGraphic write FGraphic;33 property Graphic: TBitmap read FGraphic write SetGraphic; 30 34 // property DownSound: string read FDownSound write FDownSound; 31 35 // property UpSound: string read FUpSound write FUpSound; … … 120 124 end; 121 125 126 procedure TButtonBase.SetGraphic(AValue: TBitmap); 127 begin 128 if FGraphic = AValue then Exit; 129 FGraphic := AValue; 130 end; 131 122 132 procedure TButtonBase.SetDown(X: Boolean); 123 133 begin
Note:
See TracChangeset
for help on using the changeset viewer.