Changeset 184 for trunk/Packages/CevoComponents/ButtonC.pas
- Timestamp:
- May 4, 2020, 10:24:23 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/ButtonC.pas
r165 r184 4 4 5 5 uses 6 ButtonBase, 7 Classes, Graphics, LCLIntf, LCLType; 6 ButtonBase, Classes, Graphics, LCLIntf, LCLType; 8 7 9 8 type … … 12 11 private 13 12 FIndex: Integer; 14 procedure SetIndex( x: Integer);13 procedure SetIndex(Text: Integer); 15 14 published 16 15 property Visible; … … 47 46 Brush.Color := $0000FF; 48 47 FrameRect(Rect(0, 0, 12, 12)) 49 end 48 end; 50 49 end; 51 50 52 procedure TButtonC.SetIndex( x: integer);51 procedure TButtonC.SetIndex(Text: integer); 53 52 begin 54 if x<> FIndex then53 if Text <> FIndex then 55 54 begin 56 FIndex := x;55 FIndex := Text; 57 56 Invalidate; 58 57 end;
Note:
See TracChangeset
for help on using the changeset viewer.