Changeset 7 for trunk/Forms


Ignore:
Timestamp:
Jan 20, 2015, 11:33:39 PM (10 years ago)
Author:
chronos
Message:
  • Fixed: XML database can be opened from file.
Location:
trunk/Forms
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.lfm

    r6 r7  
    55  Width = 1250
    66  Caption = 'MyData'
     7  ClientHeight = 820
     8  ClientWidth = 1250
     9  Menu = MainMenu1
    710  OnActivate = FormActivate
    811  OnClose = FormClose
    912  OnShow = FormShow
    1013  LCLVersion = '1.3'
     14  object StatusBar1: TStatusBar
     15    Left = 0
     16    Height = 29
     17    Top = 791
     18    Width = 1250
     19    Panels = <>
     20  end
     21  object MainMenu1: TMainMenu
     22    Images = Core.ImageList1
     23    left = 870
     24    top = 200
     25    object MenuItem1: TMenuItem
     26      Caption = 'Database'
     27      object MenuItem2: TMenuItem
     28        Caption = 'Connect'
     29      end
     30      object MenuItem4: TMenuItem
     31        Caption = 'Disconnect'
     32      end
     33      object MenuItem5: TMenuItem
     34        Caption = '-'
     35      end
     36      object MenuItem6: TMenuItem
     37        Action = Core.AExit
     38      end
     39    end
     40    object MenuItemPreferences: TMenuItem
     41      Caption = 'Tools'
     42      object MenuItem3: TMenuItem
     43        Action = Core.APreferences
     44      end
     45    end
     46  end
    1147end
  • trunk/Forms/UFormMain.pas

    r6 r7  
    66
    77uses
    8   Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs;
     8  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus,
     9  ComCtrls;
    910
    1011type
     
    1314
    1415  TFormMain = class(TForm)
     16    MainMenu1: TMainMenu;
     17    MenuItem1: TMenuItem;
     18    MenuItem2: TMenuItem;
     19    MenuItem3: TMenuItem;
     20    MenuItem4: TMenuItem;
     21    MenuItem5: TMenuItem;
     22    MenuItem6: TMenuItem;
     23    MenuItemPreferences: TMenuItem;
     24    StatusBar1: TStatusBar;
    1525    procedure FormActivate(Sender: TObject);
    1626    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
Note: See TracChangeset for help on using the changeset viewer.