home *** CD-ROM | disk | FTP | other *** search
/ Delphi 5 for Professionals / DELPHI5.iso / Runimage / Delphi50 / Help / Examples / Combobox / combform.dfm / combform.txt
Encoding:
Text File  |  1999-08-11  |  4.5 KB  |  228 lines

  1. object ComboForm: TComboForm
  2.   Left = 200
  3.   Top = 108
  4.   BorderIcons = [biSystemMenu, biMinimize]
  5.   BorderStyle = bsSingle
  6.   Caption = 'ComboBox demo'
  7.   ClientHeight = 281
  8.   ClientWidth = 611
  9.   Font.Charset = DEFAULT_CHARSET
  10.   Font.Color = clWindowText
  11.   Font.Height = -11
  12.   Font.Name = 'MS Sans Serif'
  13.   Font.Style = []
  14.   Menu = MainMenu1
  15.   OnCreate = FormCreate
  16.   PixelsPerInch = 96
  17.   TextHeight = 13
  18.   object Label1: TLabel
  19.     Left = 288
  20.     Top = 48
  21.     Width = 82
  22.     Height = 13
  23.     Caption = 'Current selection:'
  24.   end
  25.   object Label2: TLabel
  26.     Left = 305
  27.     Top = 82
  28.     Width = 65
  29.     Height = 13
  30.     Caption = 'Current index:'
  31.   end
  32.   object Label3: TLabel
  33.     Left = 241
  34.     Top = 116
  35.     Width = 129
  36.     Height = 13
  37.     Caption = 'Length of current selection:'
  38.   end
  39.   object Label4: TLabel
  40.     Left = 321
  41.     Top = 150
  42.     Width = 49
  43.     Height = 13
  44.     Caption = 'Edit string:'
  45.   end
  46.   object Label5: TLabel
  47.     Left = 271
  48.     Top = 176
  49.     Width = 99
  50.     Height = 13
  51.     Caption = 'Length of Edit String:'
  52.   end
  53.   object Bevel1: TBevel
  54.     Left = 0
  55.     Top = 0
  56.     Width = 611
  57.     Height = 2
  58.     Align = alTop
  59.   end
  60.   object CbDrop: TComboBox
  61.     Left = 40
  62.     Top = 48
  63.     Width = 178
  64.     Height = 21
  65.     ItemHeight = 13
  66.     Items.Strings = (
  67.       'in'
  68.       'this'
  69.       'box'
  70.       'we'
  71.       'have'
  72.       'a'
  73.       'list'
  74.       'of'
  75.       'strings')
  76.     TabOrder = 0
  77.     Visible = False
  78.     OnChange = ComboChange
  79.   end
  80.   object CbDropList: TComboBox
  81.     Left = 40
  82.     Top = 48
  83.     Width = 178
  84.     Height = 21
  85.     Style = csDropDownList
  86.     ItemHeight = 13
  87.     Items.Strings = (
  88.       'Closer'
  89.       'Still'
  90.       'Substance'
  91.       'Little Earthquakes'
  92.       'Under the Pink'
  93.       'Boys for Pele')
  94.     TabOrder = 1
  95.     Visible = False
  96.     OnChange = ComboChange
  97.   end
  98.   object CbSimple: TComboBox
  99.     Left = 40
  100.     Top = 48
  101.     Width = 178
  102.     Height = 129
  103.     Style = csSimple
  104.     ItemHeight = 13
  105.     Items.Strings = (
  106.       'Return of the Native'
  107.       'Jude the Obscure'
  108.       'One Hundred Years of Solitude'
  109.       'The Autumn of the Patriarch'
  110.       'Idoru'
  111.       'Neuromancer')
  112.     TabOrder = 2
  113.     OnChange = ComboChange
  114.   end
  115.   object EdCursel: TEdit
  116.     Left = 384
  117.     Top = 48
  118.     Width = 178
  119.     Height = 21
  120.     ReadOnly = True
  121.     TabOrder = 3
  122.   end
  123.   object EdCuridx: TEdit
  124.     Left = 384
  125.     Top = 80
  126.     Width = 178
  127.     Height = 21
  128.     ReadOnly = True
  129.     TabOrder = 4
  130.   end
  131.   object EdCurlen: TEdit
  132.     Left = 384
  133.     Top = 112
  134.     Width = 178
  135.     Height = 21
  136.     ReadOnly = True
  137.     TabOrder = 5
  138.   end
  139.   object EdEdit: TEdit
  140.     Left = 384
  141.     Top = 144
  142.     Width = 178
  143.     Height = 21
  144.     ReadOnly = True
  145.     TabOrder = 6
  146.   end
  147.   object EdEditlen: TEdit
  148.     Left = 384
  149.     Top = 176
  150.     Width = 178
  151.     Height = 21
  152.     ReadOnly = True
  153.     TabOrder = 7
  154.   end
  155.   object MainMenu1: TMainMenu
  156.     Left = 8
  157.     Top = 8
  158.     object ComboStyle: TMenuItem
  159.       Caption = '&ComboBox'
  160.       OnClick = ComboStyleClick
  161.       object CmSimple: TMenuItem
  162.         Caption = '&Simple'
  163.         OnClick = CmSimpleClick
  164.       end
  165.       object CmDrop: TMenuItem
  166.         Caption = '&Dropdown'
  167.         OnClick = CmDropClick
  168.       end
  169.       object CmDropList: TMenuItem
  170.         Caption = 'Dropdown &list'
  171.         OnClick = CmDropListClick
  172.       end
  173.     end
  174.     object Add1: TMenuItem
  175.       Caption = '&Add'
  176.       object CmAddString: TMenuItem
  177.         Caption = '&String...'
  178.         OnClick = CmAddStringClick
  179.       end
  180.       object CmAddStringAt: TMenuItem
  181.         Caption = 'String &at...'
  182.         OnClick = CmAddStringAtClick
  183.       end
  184.     end
  185.     object Search1: TMenuItem
  186.       Caption = '&Find'
  187.       object CmFindString: TMenuItem
  188.         Caption = '&String...'
  189.         OnClick = CmFindStringClick
  190.       end
  191.       object CmFindIndex: TMenuItem
  192.         Caption = '&Index...'
  193.         OnClick = CmFindIndexClick
  194.       end
  195.     end
  196.     object CmDelete: TMenuItem
  197.       Caption = '&Delete'
  198.       object CmDelString: TMenuItem
  199.         Caption = '&String...'
  200.         OnClick = CmDelStringClick
  201.       end
  202.       object CmDelIndex: TMenuItem
  203.         Caption = '&Index...'
  204.         OnClick = CmDelIndexClick
  205.       end
  206.       object N1: TMenuItem
  207.         Caption = '-'
  208.       end
  209.       object CmClear: TMenuItem
  210.         Caption = '&All'
  211.         OnClick = CmClearClick
  212.       end
  213.     end
  214.     object CmList: TMenuItem
  215.       Caption = '&List'
  216.       OnClick = CmListClick
  217.       object CmShowList: TMenuItem
  218.         Caption = '&Show'
  219.         OnClick = CmShowListClick
  220.       end
  221.       object CmSortList: TMenuItem
  222.         Caption = 'So&rt'
  223.         OnClick = CmSortListClick
  224.       end
  225.     end
  226.   end
  227. end
  228.