Changeset 24 for trunk/Forms


Ignore:
Timestamp:
Nov 19, 2012, 12:31:19 PM (12 years ago)
Author:
chronos
Message:
  • Opraveno: Ladění komunikačního protokolu s terminálem BF-630.
Location:
trunk/Forms
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormEdit.lfm

    r16 r24  
    11object FormEdit: TFormEdit
    2   Left = 368
    3   Height = 341
    4   Top = 172
    5   Width = 553
     2  Left = 297
     3  Height = 368
     4  Top = 145
     5  Width = 664
    66  Caption = 'Edit item'
    7   ClientHeight = 341
    8   ClientWidth = 553
     7  ClientHeight = 368
     8  ClientWidth = 664
    99  OnCreate = FormCreate
    1010  OnDestroy = FormDestroy
    1111  LCLVersion = '1.1'
    1212  object ButtonOk: TButton
    13     Left = 471
     13    Left = 582
    1414    Height = 25
    15     Top = 305
     15    Top = 291
    1616    Width = 75
    1717    Anchors = [akRight, akBottom]
     
    2121  end
    2222  object ButtonCancel: TButton
    23     Left = 383
     23    Left = 582
    2424    Height = 25
    25     Top = 305
     25    Top = 251
    2626    Width = 75
    2727    Anchors = [akRight, akBottom]
     
    3030    TabOrder = 1
    3131  end
    32   object Bevel1: TBevel
    33     Left = 8
    34     Height = 2
    35     Top = 297
    36     Width = 538
    37     Anchors = [akLeft, akRight, akBottom]
    38   end
    3932  object PanelControls: TPanel
    4033    Left = 8
    41     Height = 282
     34    Height = 308
    4235    Top = 8
    43     Width = 537
    44     Align = alTop
     36    Width = 567
     37    Align = alLeft
    4538    Anchors = [akTop, akLeft, akRight, akBottom]
    4639    BorderSpacing.Around = 8
     
    4841    TabOrder = 2
    4942  end
     43  object ToolBarActions: TToolBar
     44    Left = 0
     45    Height = 44
     46    Top = 324
     47    Width = 664
     48    Align = alBottom
     49    ButtonHeight = 40
     50    ButtonWidth = 44
     51    Images = FormMain.ImageList1
     52    ParentShowHint = False
     53    ShowCaptions = True
     54    ShowHint = True
     55    TabOrder = 3
     56  end
    5057end
  • trunk/Forms/UFormEdit.pas

    r17 r24  
    4646
    4747  TFormEdit = class(TForm)
    48     Bevel1: TBevel;
    4948    ButtonOk: TButton;
    5049    ButtonCancel: TButton;
    5150    PanelControls: TPanel;
     51    ToolBarActions: TToolBar;
    5252    procedure FormCreate(Sender: TObject);
    5353    procedure FormDestroy(Sender: TObject);
  • trunk/Forms/UFormList.lfm

    r23 r24  
    345345  object PrintPreview1: TPrintPreview
    346346    Zoom = 1
     347    OnPrint = PrintPreview1Print
    347348    left = 240
    348349    top = 112
  • trunk/Forms/UFormList.pas

    r23 r24  
    8282    procedure ListView1SelectItem(Sender: TObject; Item: TListItem;
    8383      Selected: Boolean);
     84    procedure PrintPreview1Print(Sender: TObject);
    8485  private
    8586    FView: TDataViewList;
     
    249250end;
    250251
     252procedure TFormList.PrintPreview1Print(Sender: TObject);
     253begin
     254
     255end;
     256
    251257procedure TFormList.SetView(AValue: TDataViewList);
    252258begin
  • trunk/Forms/UFormMain.lfm

    r14 r24  
    276276      end
    277277    end
     278    object MenuItem10: TMenuItem
     279      Caption = 'Test'
     280      object MenuItem11: TMenuItem
     281        Action = DataModuleAttendance.AReadFromTerminal
     282      end
     283    end
    278284    object MenuItem7: TMenuItem
    279285      Caption = 'Help'
  • trunk/Forms/UFormMain.lrt

    r14 r24  
    33TFORMMAIN.MENUITEM3.CAPTION=Database
    44TFORMMAIN.MENUITEM6.CAPTION=View
     5TFORMMAIN.MENUITEM10.CAPTION=Test
    56TFORMMAIN.MENUITEM7.CAPTION=Help
    67TFORMMAIN.AEXIT.CAPTION=Exit
  • trunk/Forms/UFormMain.pas

    r23 r24  
    2525    MainMenu1: TMainMenu;
    2626    MenuItem1: TMenuItem;
     27    MenuItem10: TMenuItem;
     28    MenuItem11: TMenuItem;
    2729    MenuItem3: TMenuItem;
    2830    MenuItem4: TMenuItem;
     
    155157procedure TFormMain.FormShow(Sender: TObject);
    156158begin
     159  Core.CoolTranslator1.TranslateComponentRecursive(Application);
    157160  UpdateInterface;
    158161  AConnect.Execute;
Note: See TracChangeset for help on using the changeset viewer.