home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 October / Chip_2001-10_cd1.bin / zkuste / delphi / kompon / d56 / BKSGRID.ZIP / Demo / Unit1.dfm / Unit1.txt
Text File  |  2001-07-19  |  5KB  |  237 lines

  1. object Form1: TForm1
  2.   Left = 218
  3.   Top = 133
  4.   Width = 636
  5.   Height = 452
  6.   Caption = 'Very fast (and ugly) demo of TSortGrid'
  7.   Color = clBtnFace
  8.   Font.Charset = DEFAULT_CHARSET
  9.   Font.Color = clWindowText
  10.   Font.Height = -11
  11.   Font.Name = 'MS Sans Serif'
  12.   Font.Style = []
  13.   OldCreateOrder = False
  14.   OnCreate = FormCreate
  15.   PixelsPerInch = 96
  16.   TextHeight = 13
  17.   object Label3: TLabel
  18.     Left = 248
  19.     Top = 249
  20.     Width = 6
  21.     Height = 13
  22.     Caption = '1'
  23.   end
  24.   object Label4: TLabel
  25.     Left = 169
  26.     Top = 248
  27.     Width = 67
  28.     Height = 13
  29.     Caption = 'Selected rows'
  30.   end
  31.   object Label5: TLabel
  32.     Left = 32
  33.     Top = 248
  34.     Width = 128
  35.     Height = 13
  36.     Caption = 'Use ctrl/shift to select rows'
  37.   end
  38.   object Label6: TLabel
  39.     Left = 32
  40.     Top = 280
  41.     Width = 221
  42.     Height = 13
  43.     Caption = 'Double click betweem two columns to autosize'
  44.   end
  45.   object Label7: TLabel
  46.     Left = 32
  47.     Top = 352
  48.     Width = 227
  49.     Height = 13
  50.     Caption = 'Can also save in registry or as comma separated'
  51.   end
  52.   object Label8: TLabel
  53.     Left = 432
  54.     Top = 154
  55.     Width = 42
  56.     Height = 13
  57.     Caption = '<- button'
  58.   end
  59.   object Label9: TLabel
  60.     Left = 432
  61.     Top = 103
  62.     Width = 64
  63.     Height = 13
  64.     Caption = '<- hidden text'
  65.   end
  66.   object Label10: TLabel
  67.     Left = 432
  68.     Top = 171
  69.     Width = 44
  70.     Height = 13
  71.     Caption = '<- picklist'
  72.   end
  73.   object Label11: TLabel
  74.     Left = 32
  75.     Top = 392
  76.     Width = 32
  77.     Height = 13
  78.     Caption = 'search'
  79.   end
  80.   object btnedit: TSpeedButton
  81.     Left = 544
  82.     Top = 183
  83.     Width = 73
  84.     Height = 22
  85.     AllowAllUp = True
  86.     GroupIndex = 1
  87.     Caption = 'toggle edit'
  88.     OnClick = btneditClick
  89.   end
  90.   object Label12: TLabel
  91.     Left = 432
  92.     Top = 188
  93.     Width = 104
  94.     Height = 13
  95.     Caption = '<- Won'#39't accept an '#39'a'#39
  96.   end
  97.   object Label13: TLabel
  98.     Left = 440
  99.     Top = 216
  100.     Width = 42
  101.     Height = 13
  102.     Caption = 'modified:'
  103.   end
  104.   object Label14: TLabel
  105.     Left = 488
  106.     Top = 216
  107.     Width = 22
  108.     Height = 13
  109.     Caption = 'false'
  110.   end
  111.   object SortGrid: TSortGrid
  112.     Left = 24
  113.     Top = 16
  114.     Width = 401
  115.     Height = 217
  116.     ColCount = 6
  117.     DefaultRowHeight = 16
  118.     FixedCols = 0
  119.     RowCount = 11
  120.     Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goColSizing, goThumbTracking]
  121.     TabOrder = 0
  122.     HideRows = False
  123.     Filtered = False
  124.     SortOptions.CanSort = True
  125.     SortOptions.SortStyle = ssNormal
  126.     SortOptions.SortCaseSensitive = False
  127.     SortOptions.SortCol = 0
  128.     SortOptions.SortDirection = sdAscending
  129.     SortOptions.UpdateOnSizeChange = False
  130.     PrintOptions.Copies = 0
  131.     PrintOptions.PrintRange = prAll
  132.     PrintOptions.PreviewPage = 0
  133.     MultiSelect = True
  134.     AlignmentHorz = taLeftJustify
  135.     AlignmentVert = taTopJustify
  136.     BevelStyle = cbNone
  137.     ProportionalScrollBars = False
  138.     ExtendedKeys = False
  139.     OnGetCellFormat = SortGridGetCellFormat
  140.     OnSetFilter = SortGridSetFilter
  141.     OnSearch = SortGridSearch
  142.     OnModified = SortGridModified
  143.     OnRowSelected = SortGridRowSelected
  144.     OnCellValidate = SortGridCellValidate
  145.     OnGetComboBox = SortGridGetComboBox
  146.     OnSetEllipsis = SortGridSetEllipsis
  147.   end
  148.   object Button1: TButton
  149.     Left = 32
  150.     Top = 320
  151.     Width = 75
  152.     Height = 25
  153.     Caption = 'savetofile'
  154.     TabOrder = 1
  155.     OnClick = Button1Click
  156.   end
  157.   object GroupBox1: TGroupBox
  158.     Left = 288
  159.     Top = 248
  160.     Width = 209
  161.     Height = 121
  162.     Caption = 'Simple filter'
  163.     TabOrder = 2
  164.     object Label1: TLabel
  165.       Left = 24
  166.       Top = 24
  167.       Width = 59
  168.       Height = 13
  169.       Caption = 'Filter column'
  170.     end
  171.     object Label2: TLabel
  172.       Left = 24
  173.       Top = 48
  174.       Width = 119
  175.       Height = 13
  176.       Caption = 'Accept rows with value >'
  177.     end
  178.     object EdtCol: TSpinEdit
  179.       Left = 88
  180.       Top = 20
  181.       Width = 41
  182.       Height = 22
  183.       MaxValue = 4
  184.       MinValue = 0
  185.       TabOrder = 0
  186.       Value = 0
  187.     end
  188.     object EdtValue: TSpinEdit
  189.       Left = 152
  190.       Top = 44
  191.       Width = 41
  192.       Height = 22
  193.       MaxValue = 10
  194.       MinValue = 0
  195.       TabOrder = 1
  196.       Value = 0
  197.     end
  198.     object Button2: TButton
  199.       Left = 24
  200.       Top = 72
  201.       Width = 75
  202.       Height = 25
  203.       Caption = 'Toggle filter'
  204.       TabOrder = 2
  205.       OnClick = Button2Click
  206.     end
  207.   end
  208.   object Button3: TButton
  209.     Left = 120
  210.     Top = 320
  211.     Width = 75
  212.     Height = 25
  213.     Caption = 'loadfromfile'
  214.     TabOrder = 3
  215.     OnClick = Button3Click
  216.   end
  217.   object EdtSearch: TSpinEdit
  218.     Left = 72
  219.     Top = 388
  220.     Width = 81
  221.     Height = 22
  222.     MaxValue = 0
  223.     MinValue = 0
  224.     TabOrder = 4
  225.     Value = 0
  226.   end
  227.   object Button4: TButton
  228.     Left = 160
  229.     Top = 387
  230.     Width = 75
  231.     Height = 25
  232.     Caption = 'search'
  233.     TabOrder = 5
  234.     OnClick = Button4Click
  235.   end
  236. end
  237.