Changeset 17 for trunk/Forms


Ignore:
Timestamp:
Feb 28, 2018, 12:56:11 PM (7 years ago)
Author:
chronos
Message:
  • Added: New Generate contacts Tools menu action to generate multiple random contacts.
Location:
trunk/Forms
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormContacts.lfm

    r14 r17  
    77  ClientHeight = 605
    88  ClientWidth = 807
     9  DesignTimePPI = 120
    910  OnClose = FormClose
    1011  OnCreate = FormCreate
    1112  OnShow = FormShow
    12   LCLVersion = '1.8.0.4'
     13  LCLVersion = '1.8.0.6'
    1314  object ListView1: TListView
    1415    Left = 0
     
    3233      item
    3334        Caption = 'Last Name'
    34         Width = 387
     35        Width = 100
     36      end   
     37      item
     38        Caption = 'Cell phone'
     39        Width = 100
     40      end   
     41      item
     42        Caption = 'Home phone'
     43        Width = 100
    3544      end>
    3645    MultiSelect = True
     
    5968    end
    6069    object ToolButton2: TToolButton
    61       Left = 30
     70      Left = 24
    6271      Top = 2
    6372      Action = AModify
    6473    end
    6574    object ToolButton3: TToolButton
    66       Left = 59
     75      Left = 47
    6776      Top = 2
    6877      Action = ARemove
  • trunk/Forms/UFormContacts.pas

    r15 r17  
    7575    Item.SubItems.Add(MiddleName);
    7676    Item.SubItems.Add(LastName);
     77    Item.SubItems.Add(TelCell);
     78    Item.SubItems.Add(TelHome);
    7779    Item.Data := Contacts[Item.Index];
    7880  end;
  • trunk/Forms/UFormMain.lfm

    r16 r17  
    167167        Action = Core.AFindDuplicate
    168168      end
     169      object MenuItem5: TMenuItem
     170        Action = Core.AGenerate
     171      end
    169172    end
    170173    object MenuItemHelp: TMenuItem
  • trunk/Forms/UFormMain.pas

    r16 r17  
    1919    MenuItem3: TMenuItem;
    2020    MenuItem4: TMenuItem;
     21    MenuItem5: TMenuItem;
    2122    MenuItemToolbar: TMenuItem;
    2223    MenuItemView: TMenuItem;
     
    111112  Control: TControl;
    112113begin
    113  for J := 0 to CoolBar1.ControlCount - 1 do begin
     114  for J := 0 to CoolBar1.ControlCount - 1 do begin
    114115    Control := CoolBar1.Controls[J];
    115116    if Control is TToolBar then begin
Note: See TracChangeset for help on using the changeset viewer.