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/UFormCategories.pas

    r20 r51  
    1818    AModify: TAction;
    1919    ActionList1: TActionList;
    20     Button1: TButton;
    21     Button2: TButton;
    22     Button3: TButton;
    2320    ListViewCategories: TListView;
    2421    MenuItem1: TMenuItem;
     
    2623    MenuItem3: TMenuItem;
    2724    PopupMenuCategory: TPopupMenu;
     25    ToolBar1: TToolBar;
     26    ToolButton1: TToolButton;
     27    ToolButton2: TToolButton;
     28    ToolButton3: TToolButton;
    2829    procedure AAddExecute(Sender: TObject);
    2930    procedure AModifyExecute(Sender: TObject);
    3031    procedure ARemoveExecute(Sender: TObject);
     32    procedure FormCreate(Sender: TObject);
    3133    procedure FormShow(Sender: TObject);
    3234    procedure ListViewCategoriesData(Sender: TObject; Item: TListItem);
     
    110112end;
    111113
     114procedure TFormCategories.FormCreate(Sender: TObject);
     115var
     116  I: Integer;
     117begin
     118  for I := 0 to ToolBar1.ButtonCount - 1 do
     119    ToolBar1.Buttons[I].Hint := ToolBar1.Buttons[I].Caption;
     120end;
     121
    112122procedure TFormCategories.ListViewCategoriesData(Sender: TObject; Item: TListItem);
    113123begin
Note: See TracChangeset for help on using the changeset viewer.