home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 April / Chip_1997-04_cd.bin / prezent / cb / data.z / CACHEDUP.DFM / CACHEDUP.txt
Text File  |  1997-01-16  |  4KB  |  186 lines

  1. object CacheDemoForm: TCacheDemoForm
  2.   Left = 233
  3.   Top = 108
  4.   Width = 500
  5.   Height = 373
  6.   Caption = 'Cached Updates Example'
  7.   Font.Color = clWindowText
  8.   Font.Height = -11
  9.   Font.Name = 'MS Sans Serif'
  10.   Font.Style = []
  11.   Menu = MainMenu1
  12.   Position = poScreenCenter
  13.   OnCreate = FormCreate
  14.   PixelsPerInch = 96
  15.   TextHeight = 13
  16.   object DBGrid1: TDBGrid
  17.     Left = 9
  18.     Top = 36
  19.     Width = 332
  20.     Height = 281
  21.     Columns = <
  22.       item
  23.         FieldName = 'PROJ_ID'
  24.         Title.Alignment = taCenter
  25.         Title.Caption = 'ProjID'
  26.         Width = 50
  27.       end
  28.       item
  29.         FieldName = 'PROJ_NAME'
  30.         Title.Alignment = taCenter
  31.         Title.Caption = 'Project Name'
  32.         Width = 107
  33.       end
  34.       item
  35.         FieldName = 'UpdateStatus'
  36.         ReadOnly = True
  37.         Title.Alignment = taCenter
  38.         Title.Caption = 'Update Status'
  39.         Width = 141
  40.       end>
  41.     DataSource = CacheData.CacheDS
  42.     TabOrder = 0
  43.     TitleFont.Color = clWindowText
  44.     TitleFont.Height = -11
  45.     TitleFont.Name = 'MS Sans Serif'
  46.     TitleFont.Style = []
  47.   end
  48.   object DBNavigator1: TDBNavigator
  49.     Left = 59
  50.     Top = 4
  51.     Width = 240
  52.     Height = 25
  53.     DataSource = CacheData.CacheDS
  54.     TabOrder = 1
  55.   end
  56.   object GroupBox1: TGroupBox
  57.     Left = 349
  58.     Top = 207
  59.     Width = 129
  60.     Height = 109
  61.     Caption = 'Show Records'
  62.     TabOrder = 2
  63.     object UnModifiedCB: TCheckBox
  64.       Left = 12
  65.       Top = 16
  66.       Width = 81
  67.       Height = 17
  68.       Caption = 'Unmodified'
  69.       State = cbChecked
  70.       TabOrder = 0
  71.       OnClick = UpdateRecordsToShow
  72.     end
  73.     object ModifiedCB: TCheckBox
  74.       Left = 12
  75.       Top = 38
  76.       Width = 81
  77.       Height = 17
  78.       Caption = 'Modified'
  79.       State = cbChecked
  80.       TabOrder = 1
  81.       OnClick = UpdateRecordsToShow
  82.     end
  83.     object InsertedCB: TCheckBox
  84.       Left = 12
  85.       Top = 60
  86.       Width = 81
  87.       Height = 17
  88.       Caption = 'Inserted'
  89.       State = cbChecked
  90.       TabOrder = 2
  91.       OnClick = UpdateRecordsToShow
  92.     end
  93.     object DeletedCB: TCheckBox
  94.       Left = 12
  95.       Top = 82
  96.       Width = 81
  97.       Height = 17
  98.       Caption = 'Deleted'
  99.       TabOrder = 3
  100.       OnClick = UpdateRecordsToShow
  101.     end
  102.   end
  103.   object Panel1: TPanel
  104.     Left = 349
  105.     Top = 36
  106.     Width = 129
  107.     Height = 53
  108.     BevelInner = bvRaised
  109.     BevelOuter = bvLowered
  110.     TabOrder = 3
  111.     object CachedUpdates: TCheckBox
  112.       Left = 11
  113.       Top = 7
  114.       Width = 114
  115.       Height = 17
  116.       Caption = '&Cached Updates'
  117.       State = cbChecked
  118.       TabOrder = 0
  119.       OnClick = ToggleUpdateMode
  120.     end
  121.     object UseUpdateSQL: TCheckBox
  122.       Left = 11
  123.       Top = 28
  124.       Width = 110
  125.       Height = 17
  126.       Caption = 'Use Update SQL'
  127.       TabOrder = 1
  128.       OnClick = UseUpdateSQLClick
  129.     end
  130.   end
  131.   object Panel2: TPanel
  132.     Left = 349
  133.     Top = 96
  134.     Width = 129
  135.     Height = 106
  136.     BevelInner = bvRaised
  137.     BevelOuter = bvLowered
  138.     TabOrder = 4
  139.     object ApplyUpdatesBtn: TButton
  140.       Left = 9
  141.       Top = 9
  142.       Width = 110
  143.       Height = 25
  144.       Caption = '&Apply Updates'
  145.       TabOrder = 0
  146.       OnClick = ApplyUpdatesBtnClick
  147.     end
  148.     object CancelUpdatesBtn: TButton
  149.       Left = 9
  150.       Top = 41
  151.       Width = 110
  152.       Height = 25
  153.       Caption = '&Cancel Updates'
  154.       TabOrder = 1
  155.       OnClick = CancelUpdatesBtnClick
  156.     end
  157.     object RevertRecordBtn: TButton
  158.       Left = 9
  159.       Top = 72
  160.       Width = 110
  161.       Height = 25
  162.       Caption = '&Revert Record'
  163.       TabOrder = 2
  164.       OnClick = RevertRecordBtnClick
  165.     end
  166.   end
  167.   object ReExecuteButton: TButton
  168.     Left = 349
  169.     Top = 4
  170.     Width = 129
  171.     Height = 25
  172.     Caption = 'Re-execute Query'
  173.     TabOrder = 5
  174.     OnClick = ReExecuteButtonClick
  175.   end
  176.   object MainMenu1: TMainMenu
  177.     Left = 268
  178.     Top = 263
  179.     object miAbout: TMenuItem
  180.       Caption = 'A&bout'
  181.       ShortCut = 0
  182.       OnClick = miAboutClick
  183.     end
  184.   end
  185. end
  186.