Ignore:
Timestamp:
May 4, 2020, 10:24:23 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Code formatting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/CevoComponents/ButtonC.pas

    r165 r184  
    44
    55uses
    6   ButtonBase,
    7   Classes, Graphics, LCLIntf, LCLType;
     6  ButtonBase, Classes, Graphics, LCLIntf, LCLType;
    87
    98type
     
    1211  private
    1312    FIndex: Integer;
    14     procedure SetIndex(x: Integer);
     13    procedure SetIndex(Text: Integer);
    1514  published
    1615    property Visible;
     
    4746      Brush.Color := $0000FF;
    4847      FrameRect(Rect(0, 0, 12, 12))
    49     end
     48    end;
    5049end;
    5150
    52 procedure TButtonC.SetIndex(x: integer);
     51procedure TButtonC.SetIndex(Text: integer);
    5352begin
    54   if x <> FIndex then
     53  if Text <> FIndex then
    5554  begin
    56     FIndex := x;
     55    FIndex := Text;
    5756    Invalidate;
    5857  end;
Note: See TracChangeset for help on using the changeset viewer.