Changeset 31 for trunk/Forms


Ignore:
Timestamp:
Sep 8, 2012, 9:38:38 PM (12 years ago)
Author:
chronos
Message:
  • Added: Common package.
Location:
trunk/Forms
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UMainForm.lfm

    r24 r31  
    11object MainForm: TMainForm
    2   Left = 382
     2  Left = 470
    33  Height = 412
    4   Top = 95
     4  Top = 150
    55  Width = 514
    66  Caption = 'Tunneler'
    7   ClientHeight = 385
     7  ClientHeight = 387
    88  ClientWidth = 514
    99  Menu = MainMenu1
     
    1515  OnKeyUp = FormKeyUp
    1616  OnShow = FormShow
    17   LCLVersion = '0.9.31'
     17  LCLVersion = '1.1'
    1818  object StatusBar1: TStatusBar
    1919    Left = 0
    2020    Height = 21
    21     Top = 364
     21    Top = 366
    2222    Width = 514
    2323    Panels = <   
     
    4747  object Image1: TImage
    4848    Left = 0
    49     Height = 364
     49    Height = 366
    5050    Top = 0
    5151    Width = 514
     
    130130    top = 104
    131131  end
     132  object ApplicationInfo1: TApplicationInfo
     133    Identification = 1
     134    VersionMajor = 1
     135    VersionMinor = 0
     136    VersionBugFix = 0
     137    CompanyName = 'Chronosoft'
     138    HomePage = 'http://svn.zdechov.net/trac/Tunneler/'
     139    AuthorsName = 'Chronos'
     140    EmailContact = 'robie@centrum.cz'
     141    AppName = 'Tunneler'
     142    ReleaseDate = 41160
     143    RegistryKey = '\Software\Chronosoft\Tunneler'
     144    RegistryRoot = rrKeyCurrentUser
     145    left = 99
     146    top = 176
     147  end
    132148end
  • trunk/Forms/UMainForm.pas

    r28 r31  
    1616  TMainForm = class(TForm)
    1717    AAbout: TAction;
     18    ApplicationInfo1: TApplicationInfo;
    1819    AShowRawImageDesc: TAction;
    1920    AShowMap: TAction;
     
    112113begin
    113114  PersistentForm := TPersistentForm.Create;
    114   PersistentForm.RegistryKey := '\Software\' + ApplicationInfo.CompanyName + '\' + ApplicationInfo.Name;
     115  PersistentForm.RegistryKey := ApplicationInfo1.RegistryKey;
     116  PersistentForm.RegistryRootKey := HKEY(ApplicationInfo1.RegistryRoot);
    115117
    116118  Application.OnDeactivate := FormDeactivate;
Note: See TracChangeset for help on using the changeset viewer.