Ignore:
Timestamp:
Dec 31, 2024, 1:15:01 PM (8 days ago)
Author:
chronos
Message:
  • Added: Close button on more forms for better touch screen devices support.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormUnitMoves.pas

    r318 r362  
    55uses
    66  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls,
    7   FormEx, Game;
     7  StdCtrls, FormEx, Game;
    88
    99type
     
    1212
    1313  TFormUnitMoves = class(TFormEx)
     14    ButtonClose: TButton;
    1415    ListView1: TListView;
     16    procedure ButtonCloseClick(Sender: TObject);
    1517    procedure FormShow(Sender: TObject);
    1618    procedure ListView1Data(Sender: TObject; Item: TListItem);
     
    4850end;
    4951
     52procedure TFormUnitMoves.ButtonCloseClick(Sender: TObject);
     53begin
     54  Close;
     55end;
     56
    5057procedure TFormUnitMoves.ReloadList;
    5158begin
Note: See TracChangeset for help on using the changeset viewer.