Ignore:
Timestamp:
May 26, 2019, 7:33:14 PM (5 years ago)
Author:
chronos
Message:
  • Added: TDpiImage control.
Location:
DpiControls
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • DpiControls

    • Property svn:ignore set to
      lib
  • DpiControls/Demo

    • Property svn:ignore set to
      DpiComponentsDemo
      DpiComponentsDemo.lps
      DpiComponentsDemo.res
      lib
  • DpiControls/Demo/UFormMain.pas

    r532 r533  
    66
    77uses
    8   Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ComCtrls, UDpiForm,
    9   UDpiControls;
     8  Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ComCtrls, StdCtrls,
     9  ExtCtrls, UDpiForm, UDpiControls;
    1010
    1111type
    1212
    13   { TForm1 }
     13  { TFormMain }
    1414
    15   TForm1 = class(TForm)
     15  TFormMain = class(TForm)
     16    Label1: TLabel;
    1617    TrackBar1: TTrackBar;
    1718    procedure FormShow(Sender: TObject);
     
    2425
    2526var
    26   Form1: TForm1;
     27  FormMain: TFormMain;
    2728
    2829implementation
     
    3031{$R *.lfm}
    3132
    32 { TForm1 }
     33{ TFormMain }
    3334
    34 procedure TForm1.FormShow(Sender: TObject);
     35procedure TFormMain.FormShow(Sender: TObject);
    3536begin
    3637  DpiScreen.Dpi := 96 * 2;
     
    4546end;
    4647
    47 procedure TForm1.TrackBar1Change(Sender: TObject);
     48procedure TFormMain.TrackBar1Change(Sender: TObject);
    4849begin
    4950  DpiScreen.Dpi := TrackBar1.Position;
Note: See TracChangeset for help on using the changeset viewer.