Ignore:
Timestamp:
Nov 24, 2011, 8:35:25 AM (13 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UMainForm.pas

    r29 r30  
    3434    AItemDelete: TAction;
    3535    ActionListItem: TActionList;
     36    ButtonEdit: TButton;
     37    ButtonView: TButton;
    3638    ButtonAdd: TButton;
    37     ButtonRemove: TButton;
     39    ButtonDelete: TButton;
    3840    ImageListActions: TImageList;
    3941    Label1: TLabel;
     
    306308      LoadTree;
    307309    except
    308       on E:Exception do ShowMessage(E.Message);
     310      on E: Exception do ShowMessage(E.Message);
    309311    end;
    310312  end;
     
    371373    else SelectedItem := 0;
    372374
    373   AItemDelete.Enabled := Assigned(ListView1.Selected);
    374   AItemView.Enabled := Assigned(ListView1.Selected);
    375   AItemEdit.Enabled := Assigned(ListView1.Selected);
     375  ButtonDelete.Enabled := Assigned(ListView1.Selected);
     376  ButtonView.Enabled := Assigned(ListView1.Selected);
     377  ButtonEdit.Enabled := Assigned(ListView1.Selected);
    376378end;
    377379
Note: See TracChangeset for help on using the changeset viewer.