Ignore:
Timestamp:
Nov 29, 2023, 2:35:44 PM (6 months ago)
Author:
chronos
Message:
  • Modified: HighDpi branch updated to trunk version.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/Packages/CevoComponents/ButtonC.pas

    r303 r463  
    1414  published
    1515    property Visible;
    16     property ButtonIndex: integer read FIndex write SetIndex;
     16    property ButtonIndex: Integer read FIndex write SetIndex;
    1717    property OnClick;
    1818  protected
     
    4141  with Canvas do
    4242    if FGraphic <> nil then
    43       DpiBitCanvas(Canvas, 0, 0, 12, 12, FGraphic.Canvas,
     43      DpiBitBltCanvas(Canvas, 0, 0, 12, 12, FGraphic.Canvas,
    4444        169 + 13 * Byte(FDown), 159 + 13 * FIndex)
    4545    else
    4646    begin
    4747      Brush.Color := $0000FF;
    48       FrameRect(Rect(0, 0, 12, 12))
     48      FrameRect(Rect(0, 0, 12, 12));
    4949    end;
    5050end;
    5151
    52 procedure TButtonC.SetIndex(Text: integer);
     52procedure TButtonC.SetIndex(Text: Integer);
    5353begin
    5454  if Text <> FIndex then
Note: See TracChangeset for help on using the changeset viewer.