Ignore:
Timestamp:
Jul 25, 2016, 5:20:29 PM (8 years ago)
Author:
chronos
Message:
  • Added: Bottom action toolbar to windows with lists.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormAcronyms.pas

    r45 r51  
    2828    PopupMenuAcronym: TPopupMenu;
    2929    StatusBar1: TStatusBar;
     30    ToolBar1: TToolBar;
     31    ToolButton1: TToolButton;
     32    ToolButton2: TToolButton;
     33    ToolButton3: TToolButton;
    3034    procedure AAddExecute(Sender: TObject);
    3135    procedure AModifyExecute(Sender: TObject);
    3236    procedure ARemoveExecute(Sender: TObject);
    3337    procedure ASelectAllExecute(Sender: TObject);
     38    procedure FormCreate(Sender: TObject);
    3439    procedure FormShow(Sender: TObject);
    3540    procedure ListViewAcronymsData(Sender: TObject; Item: TListItem);
     
    6065
    6166resourcestring
    62   SRemoveAcronym = 'Remove acronym';
    63   SRemoveAcronymQuery = 'Do you want to remove selected acronym?';
     67  SRemoveAcronym = 'Remove acronyms';
     68  SRemoveAcronymQuery = 'Do you want to remove selected acronyms?';
    6469  STotal = 'Total';
    6570  SFiltered = 'Filtered';
     
    190195end;
    191196
     197procedure TFormAcronyms.FormCreate(Sender: TObject);
     198var
     199  I: Integer;
     200begin
     201  for I := 0 to ToolBar1.ButtonCount - 1 do
     202    ToolBar1.Buttons[I].Hint := ToolBar1.Buttons[I].Caption;
     203end;
     204
    192205procedure TFormAcronyms.ListViewFilter1Change(Sender: TObject);
    193206begin
Note: See TracChangeset for help on using the changeset viewer.