소스 검색

References bug: Replace CurrentTable by OtherTable

motaz 11 년 전
부모
커밋
fa3983f995
4개의 변경된 파일179개의 추가작업 그리고 178개의 파일을 삭제
  1. 1 1
      systables.pas
  2. 11 10
      tablemanage.lfm
  3. 164 164
      tablemanage.lrs
  4. 3 3
      tablemanage.pas

+ 1 - 1
systables.pas

@@ -323,7 +323,7 @@ begin
   'inner join rdb$index_segments as flds_pk on ' +
   '((flds_pk.rdb$index_name = rc2.rdb$index_name) and (flds_fk.rdb$field_position = flds_pk.rdb$field_position)) ' +
   'where rc.rdb$constraint_type = ''FOREIGN KEY'' '+
-  'and rc.rdb$relation_name = ''' + UpperCase(ATableName) + ''' '+
+  'and rc2.rdb$relation_name = ''' + UpperCase(ATableName) + ''' '+
   'order by rc.rdb$constraint_name, flds_fk.rdb$field_position ';
   SqlQuery.Open;
   Result:= SqlQuery.RecordCount > 0;

+ 11 - 10
tablemanage.lfm

@@ -429,7 +429,7 @@ object fmTableManage: TfmTableManage
         Top = 139
         Width = 607
         Anchors = [akTop, akLeft, akBottom]
-        ClientHeight = 218
+        ClientHeight = 232
         ClientWidth = 603
         TabOrder = 3
         object GroupBox2: TGroupBox
@@ -438,7 +438,7 @@ object fmTableManage: TfmTableManage
           Top = 8
           Width = 585
           Caption = 'Create New Index'
-          ClientHeight = 197
+          ClientHeight = 196
           ClientWidth = 581
           TabOrder = 0
           object cbIndexType: TComboBox
@@ -447,7 +447,7 @@ object fmTableManage: TfmTableManage
             Top = 5
             Width = 150
             Color = 16249563
-            ItemHeight = 13
+            ItemHeight = 0
             ItemIndex = 1
             Items.Strings = (
               'Primary Key'
@@ -487,7 +487,7 @@ object fmTableManage: TfmTableManage
             Top = 100
             Width = 120
             AutoDropDown = True
-            ItemHeight = 13
+            ItemHeight = 0
             ItemIndex = 0
             Items.Strings = (
               'Ascending'
@@ -542,6 +542,7 @@ object fmTableManage: TfmTableManage
             Width = 232
             ItemHeight = 0
             TabOrder = 5
+            TopIndex = -1
           end
         end
       end
@@ -1195,14 +1196,14 @@ object fmTableManage: TfmTableManage
     end
     object tsReferences: TTabSheet
       Caption = 'References'
-      ClientHeight = 386
-      ClientWidth = 809
+      ClientHeight = 382
+      ClientWidth = 813
       ImageIndex = 5
       object sgReferences: TStringGrid
         Left = 0
-        Height = 282
+        Height = 278
         Top = 0
-        Width = 809
+        Width = 813
         Align = alTop
         Anchors = [akTop, akLeft, akRight, akBottom]
         ColCount = 4
@@ -1234,9 +1235,9 @@ object fmTableManage: TfmTableManage
         TabOrder = 0
       end
       object bbRefreshReferences: TBitBtn
-        Left = 693
+        Left = 697
         Height = 43
-        Top = 342
+        Top = 338
         Width = 99
         Anchors = [akRight, akBottom]
         Caption = 'Refresh'

+ 164 - 164
tablemanage.lrs

@@ -364,51 +364,173 @@ LazarusResources.Add('TfmTableManage','FORMDATA',[
   +#255#255#255#0#255#255#255#0#255#255#255#0#0#0#0#2#0#0#0#3#0#0#0#1#255#255
   +#255#0#255#255#255#0#7'OnClick'#7#11'bbDropClick'#8'TabOrder'#2#2#0#0#9'TGro'
   +'upBox'#9'GroupBox1'#4'Left'#2#254#6'Height'#3#236#0#3'Top'#3#139#0#5'Width'
-  +#3'_'#2#7'Anchors'#11#5'akTop'#6'akLeft'#8'akBottom'#0#12'ClientHeight'#3#218
+  +#3'_'#2#7'Anchors'#11#5'akTop'#6'akLeft'#8'akBottom'#0#12'ClientHeight'#3#232
   +#0#11'ClientWidth'#3'['#2#8'TabOrder'#2#3#0#9'TGroupBox'#9'GroupBox2'#4'Left'
   +#2#6#6'Height'#3#215#0#3'Top'#2#8#5'Width'#3'I'#2#7'Caption'#6#16'Create New'
-  +' Index'#12'ClientHeight'#3#197#0#11'ClientWidth'#3'E'#2#8'TabOrder'#2#0#0#9
+  +' Index'#12'ClientHeight'#3#196#0#11'ClientWidth'#3'E'#2#8'TabOrder'#2#0#0#9
   +'TComboBox'#11'cbIndexType'#4'Left'#2'}'#6'Height'#2#21#3'Top'#2#5#5'Width'#3
-  +#150#0#5'Color'#4#219#242#247#0#10'ItemHeight'#2#13#9'ItemIndex'#2#1#13'Item'
-  +'s.Strings'#1#6#11'Primary Key'#6#15'Secondary Index'#0#8'OnChange'#7#17'cbI'
-  +'ndexTypeChange'#5'Style'#7#14'csDropDownList'#8'TabOrder'#2#0#4'Text'#6#15
-  +'Secondary Index'#0#0#5'TEdit'#11'edIndexName'#4'Left'#2'}'#6'Height'#2#27#3
+  +#150#0#5'Color'#4#219#242#247#0#10'ItemHeight'#2#0#9'ItemIndex'#2#1#13'Items'
+  +'.Strings'#1#6#11'Primary Key'#6#15'Secondary Index'#0#8'OnChange'#7#17'cbIn'
+  +'dexTypeChange'#5'Style'#7#14'csDropDownList'#8'TabOrder'#2#0#4'Text'#6#15'S'
+  +'econdary Index'#0#0#5'TEdit'#11'edIndexName'#4'Left'#2'}'#6'Height'#2#27#3
   +'Top'#2''''#5'Width'#3#150#0#8'TabOrder'#2#1#0#0#6'TLabel'#6'Label3'#4'Left'
   +#2#9#6'Height'#2#18#3'Top'#2','#5'Width'#2'o'#7'Caption'#6#14'New index name'
   +#11'ParentColor'#8#0#0#9'TCheckBox'#8'cxUnique'#4'Left'#2#9#6'Height'#2#24#3
   +'Top'#2'M'#5'Width'#2'W'#7'Caption'#6#9'Is Unique'#8'TabOrder'#2#2#0#0#9'TCo'
   +'mboBox'#10'cbSortType'#4'Left'#2'~'#6'Height'#2#21#3'Top'#2'd'#5'Width'#2'x'
-  +#12'AutoDropDown'#9#10'ItemHeight'#2#13#9'ItemIndex'#2#0#13'Items.Strings'#1
-  +#6#9'Ascending'#6#10'Descending'#0#11'ParentColor'#9#5'Style'#7#14'csDropDow'
-  +'nList'#8'TabOrder'#2#3#4'Text'#6#9'Ascending'#0#0#7'TBitBtn'#13'bbCreateInd'
-  +'ex'#4'Left'#2#9#6'Height'#2'-'#3'Top'#3#141#0#5'Width'#2'|'#7'Caption'#6#12
-  +'Create Index'#5'Color'#4#219#242#247#0#7'Default'#9#4'Kind'#7#4'bkOK'#11'Mo'
-  +'dalResult'#2#1#7'OnClick'#7#18'bbCreateIndexClick'#8'TabOrder'#2#4#0#0#6'TL'
-  +'abel'#6'Label1'#4'Left'#2#9#6'Height'#2#18#3'Top'#2#12#5'Width'#2'!'#7'Capt'
-  ,'ion'#6#4'Type'#11'ParentColor'#8#0#0#6'TLabel'#6'Label4'#4'Left'#2#12#6'Hei'
-  +'ght'#2#18#3'Top'#2'm'#5'Width'#2'?'#7'Caption'#6#9'Direction'#11'ParentColo'
-  +'r'#8#0#0#6'TLabel'#6'Label2'#4'Left'#3'>'#1#6'Height'#2#18#3'Top'#2#12#5'Wi'
-  +'dth'#3#176#0#7'Caption'#6#26'Create new index on fields'#11'ParentColor'#8#0
-  +#0#13'TCheckListBox'#9'clbFields'#4'Left'#3'>'#1#6'Height'#3#152#0#3'Top'#2
-  +#31#5'Width'#3#232#0#10'ItemHeight'#2#0#8'TabOrder'#2#5#0#0#0#0#0#9'TTabShee'
-  +'t'#13'tsConstraints'#7'Caption'#6#11'Constraints'#12'ClientHeight'#3'~'#1#11
-  +'ClientWidth'#3'-'#3#10'ImageIndex'#2#3#0#7'TBitBtn'#19'bbRefreshConstraint'
-  +#4'Left'#3#185#2#6'Height'#2'+'#3'Top'#3'R'#1#5'Width'#2'c'#7'Anchors'#11#7
-  +'akRight'#8'akBottom'#0#7'Caption'#6#7'Refresh'#5'Color'#4#219#242#247#0#4'K'
-  +'ind'#7#7'bkRetry'#7'OnClick'#7#24'bbRefreshConstraintClick'#8'TabOrder'#2#0
-  +#0#0#11'TStringGrid'#13'sgConstraints'#4'Left'#2#255#6'Height'#3'M'#1#3'Top'
-  +#2#255#5'Width'#3'/'#3#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBotto'
-  +'m'#0#8'ColCount'#2#7#7'Columns'#14#1#13'Title.Caption'#6#15'Constraint Name'
-  +#5'Width'#2'x'#0#1#13'Title.Caption'#6#8'Key name'#5'Width'#2'd'#0#1#13'Titl'
-  +'e.Caption'#6#9'On Fields'#5'Width'#2'x'#0#1#13'Title.Caption'#6#13'Foreign '
-  +'Table'#5'Width'#2'd'#0#1#13'Title.Caption'#6#11'Foriegn Key'#5'Width'#2'd'#0
-  +#1#13'Title.Caption'#6#11'Update Rule'#5'Width'#2'd'#0#1#13'Title.Caption'#6
-  +#11'Delete Rule'#5'Width'#2'd'#0#0#10'FixedColor'#4#207#218#221#0#9'FixedCol'
-  +'s'#2#0#7'Options'#11#15'goFixedVertLine'#15'goFixedHorzLine'#10'goVertLine'
-  +#10'goHorzLine'#13'goRangeSelect'#11'goColSizing'#11'goRowSelect'#14'goSmoot'
-  +'hScroll'#0#8'RowCount'#2#2#8'TabOrder'#2#1#0#0#7'TBitBtn'#15'bbNewConstrain'
-  +'t'#4'Left'#2#6#6'Height'#2'+'#3'Top'#3'R'#1#5'Width'#3#144#0#7'Anchors'#11#6
-  +'akLeft'#8'akBottom'#0#7'Caption'#6#14'New Constraint'#5'Color'#4#219#242#247
+  +#12'AutoDropDown'#9#10'ItemHeight'#2#0#9'ItemIndex'#2#0#13'Items.Strings'#1#6
+  +#9'Ascending'#6#10'Descending'#0#11'ParentColor'#9#5'Style'#7#14'csDropDownL'
+  +'ist'#8'TabOrder'#2#3#4'Text'#6#9'Ascending'#0#0#7'TBitBtn'#13'bbCreateIndex'
+  +#4'Left'#2#9#6'Height'#2'-'#3'Top'#3#141#0#5'Width'#2'|'#7'Caption'#6#12'Cre'
+  +'ate Index'#5'Color'#4#219#242#247#0#7'Default'#9#4'Kind'#7#4'bkOK'#11'Modal'
+  +'Result'#2#1#7'OnClick'#7#18'bbCreateIndexClick'#8'TabOrder'#2#4#0#0#6'TLabe'
+  +'l'#6'Label1'#4'Left'#2#9#6'Height'#2#18#3'Top'#2#12#5'Width'#2'!'#7'Caption'
+  ,#6#4'Type'#11'ParentColor'#8#0#0#6'TLabel'#6'Label4'#4'Left'#2#12#6'Height'#2
+  +#18#3'Top'#2'm'#5'Width'#2'?'#7'Caption'#6#9'Direction'#11'ParentColor'#8#0#0
+  +#6'TLabel'#6'Label2'#4'Left'#3'>'#1#6'Height'#2#18#3'Top'#2#12#5'Width'#3#176
+  +#0#7'Caption'#6#26'Create new index on fields'#11'ParentColor'#8#0#0#13'TChe'
+  +'ckListBox'#9'clbFields'#4'Left'#3'>'#1#6'Height'#3#152#0#3'Top'#2#31#5'Widt'
+  +'h'#3#232#0#10'ItemHeight'#2#0#8'TabOrder'#2#5#8'TopIndex'#2#255#0#0#0#0#0#9
+  +'TTabSheet'#13'tsConstraints'#7'Caption'#6#11'Constraints'#12'ClientHeight'#3
+  +'~'#1#11'ClientWidth'#3'-'#3#10'ImageIndex'#2#3#0#7'TBitBtn'#19'bbRefreshCon'
+  +'straint'#4'Left'#3#185#2#6'Height'#2'+'#3'Top'#3'R'#1#5'Width'#2'c'#7'Ancho'
+  +'rs'#11#7'akRight'#8'akBottom'#0#7'Caption'#6#7'Refresh'#5'Color'#4#219#242
+  +#247#0#4'Kind'#7#7'bkRetry'#7'OnClick'#7#24'bbRefreshConstraintClick'#8'TabO'
+  +'rder'#2#0#0#0#11'TStringGrid'#13'sgConstraints'#4'Left'#2#255#6'Height'#3'M'
+  +#1#3'Top'#2#255#5'Width'#3'/'#3#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8
+  +'akBottom'#0#8'ColCount'#2#7#7'Columns'#14#1#13'Title.Caption'#6#15'Constrai'
+  +'nt Name'#5'Width'#2'x'#0#1#13'Title.Caption'#6#8'Key name'#5'Width'#2'd'#0#1
+  +#13'Title.Caption'#6#9'On Fields'#5'Width'#2'x'#0#1#13'Title.Caption'#6#13'F'
+  +'oreign Table'#5'Width'#2'd'#0#1#13'Title.Caption'#6#11'Foriegn Key'#5'Width'
+  +#2'd'#0#1#13'Title.Caption'#6#11'Update Rule'#5'Width'#2'd'#0#1#13'Title.Cap'
+  +'tion'#6#11'Delete Rule'#5'Width'#2'd'#0#0#10'FixedColor'#4#207#218#221#0#9
+  +'FixedCols'#2#0#7'Options'#11#15'goFixedVertLine'#15'goFixedHorzLine'#10'goV'
+  +'ertLine'#10'goHorzLine'#13'goRangeSelect'#11'goColSizing'#11'goRowSelect'#14
+  +'goSmoothScroll'#0#8'RowCount'#2#2#8'TabOrder'#2#1#0#0#7'TBitBtn'#15'bbNewCo'
+  +'nstraint'#4'Left'#2#6#6'Height'#2'+'#3'Top'#3'R'#1#5'Width'#3#144#0#7'Ancho'
+  +'rs'#11#6'akLeft'#8'akBottom'#0#7'Caption'#6#14'New Constraint'#5'Color'#4
+  +#219#242#247#0#10'Glyph.Data'#10':'#9#0#0'6'#9#0#0'BM6'#9#0#0#0#0#0#0'6'#0#0
+  +#0'('#0#0#0#24#0#0#0#24#0#0#0#1#0' '#0#0#0#0#0#0#9#0#0'd'#0#0#0'd'#0#0#0#0#0
+  +#0#0#0#0#0#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
+  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0
+  +#0#0#0#1#255#255#255#0#0#0#0#2#255#255#255#0#255#255#255#0#255#255#255#0#255
+  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
+  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0
+  +#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#0#1#0#0#0#2#0#0
+  +#0#2''''#0#0#26#0#0#0#4'%'#22'7/9'#0#0#9'U'#0#0#3'@'#0#0#4#255#255#255#0#255
+  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
+  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0
+  +#255#255#255#0#255#255#255#0#0#0#0#1'&?}-%'#0#0')'#31']'#198'f'#31'F'#153#212
+  +'"0nF'#20'f'#228#241'$'#9#19'R'#19'I'#171#136#31#25'>o@'#0#0#8'3'#0#0#5#255
+  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
+  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#0#1'3'#0#0
+  +#10'$'#0#0#14'%l'#220#189'$V'#178#228' ^'#198#215#28'u'#251#255#27'b'#215#242
+  +#22's'#254#255#24'R'#185#230#16'n'#253#254#27'0q'#180#23'<'#142#131#24',j'
+  +#140'+'#0#0#6#0#0#0#2#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0
+  +#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#0#5'.l'#210#168
+  +'*L'#150#213')h'#209#226'&|'#253#255'#z'#253#255' x'#253#255#28'v'#253#255#25
+  +'t'#254#255#22's'#254#255#19'q'#254#255#17'f'#233#250#13'm'#254#255#23'6'#130
+  +#173'#'#0#0#29'('#0#0' '#0#0#0#2#255#255#255#0#255#255#255#0#255#255#255#0
+  +#255#255#255#0#255#255#255#0#255#255#255#0'33g'#10''''#8#12'@0h'#199#152'0'
+  +#129#252#255'-'#127#253#255')~'#253#255'&|'#253#255'#z'#253#255' x'#253#255
+  +#29'v'#253#255#26'u'#254#255#22's'#254#255#19'q'#254#255#16'o'#254#255#18'U'
+  +#197#238#13'b'#231#247#25'/o'#131'+'#0#0#6#255#255#255#0#255#255#255#0#255
+  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0';'#127#230'M:'#133#249
+  +#253'5|'#235#250'3'#131#252#255'0'#129#252#255'-'#128#253#255'*~'#253#255''''
+  +'|'#253#255'#z'#253#255' x'#253#255#29'w'#253#255#26'u'#254#255#23's'#254#255
+  +#19'q'#254#255#16'o'#254#255#15'c'#228#248'%'#6#12'Y%'#4#8'?$'#0#0#7#255#255
+  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0' '#0#0#8'&'#0#0'6:z'#225#229
+  +':'#135#252#255'7'#133#252#255'3'#131#252#255'0'#130#252#255'-'#128#253#255
+  +'*~'#253#255'''|'#253#255'$z'#253#255' y'#253#255#29'w'#253#255#26'u'#254#255
+  +#23's'#254#255#20'q'#254#255#17'p'#253#255#14'l'#249#254#17'P'#188#216' '#0#0
+  +#8#255#255#255#0#255#255#255#0#255#255#255#0#0#0#0#1'C}'#221'rC'#140#250#254
+  +'@'#139#252#255'='#137#252#255':'#135#252#255'7'#133#252#255'4'#132#252#255
+  +'1'#130#252#255'-'#128#253#255'*~'#253#255'''|'#253#255'${'#253#255'!y'#253
+  +#255#30'w'#253#255#26'u'#254#255#23's'#254#255#20'q'#254#255#18'j'#242#252' '
+  +#21'.o!'#0#0#23#0#0#0#1#255#255#255#0#255#255#255#0#255#255#255#0'7%J'#14'C}'
+  +#220#206'D'#141#251#255'A'#139#252#255'>'#137#252#255':'#135#252#255'7'#134
+  ,#252#255'4'#132#252#255'1'#130#252#255'.'#128#253#255'*~'#253#255'''|'#253
+  +#255'${'#253#255'!y'#253#255#30'w'#253#255#27'u'#254#255#23's'#254#255#20'r'
+  +#254#255#18'k'#242#251#24'A'#151#193'+'#0#0#6#255#255#255#0#255#255#255#0'Kw'
+  +#205#24'Hx'#207#212'I'#140#243#253'G'#143#251#255'D'#141#251#255'A'#139#252
+  +#255'>'#137#252#255';'#136#252#255'8'#134#252#255'4'#132#252#255'1'#130#252
+  +#255'.'#128#253#255'+~'#253#255'(}'#253#255'${'#253#255'!y'#253#255#30'w'#253
+  +#255#27'u'#254#255#24't'#254#255#24'Z'#201#232#29'$T*'#0#0#0#2#255#255#255#0
+  +#255#255#255#0#0#0#0#1'L'#130#220'qM'#143#244#249'K'#145#251#255'H'#143#251
+  +#255'D'#141#251#255'A'#139#252#255'>'#137#252#255';'#136#252#255'8'#134#252
+  +#255'5'#132#252#255'1'#130#252#255'.'#128#253#255'+'#127#253#255'(}'#253#255
+  +'%{'#253#255'"y'#253#255#30'w'#253#255#27'v'#254#255#25'i'#230#249#29'>'#138
+  +#201''''#0#0'!'#0#0#0#2#255#255#255#0'@'#0#0#4'Dd'#166#150'O'#142#241#251'N'
+  +#147#251#255'K'#145#251#255'H'#143#251#255'E'#141#251#255'A'#139#251#255'>'
+  +#138#252#255';'#136#252#255'8'#134#252#255'5'#132#252#255'2'#130#252#255'/'
+  +#129#253#255'+'#127#253#255'(}'#253#255'%{'#253#255'"y'#253#255#31'x'#253#255
+  +#28'l'#232#246#27'U'#186#150'@'#0#0#4#255#255#255#0#255#255#255#0'V'#135#232
+  +#21'S'#138#228#193'T'#147#244#250'R'#149#251#255'N'#147#251#255'K'#145#251
+  +#255'H'#143#251#255'E'#141#251#255'B'#140#251#255'?'#138#252#255';'#136#252
+  +#255'8'#134#252#255'5'#132#252#255'2'#131#252#255'/'#129#252#255','#127#253
+  +#255'(}'#253#255'%{'#253#255'"y'#253#255' ]'#197#237'$'#16'&^@'#0#0#4#255#255
+  +#255#0#255#255#255#0#255#255#255#0';(O'#13'P~'#208#216'U'#151#250#255'R'#149
+  +#251#255'O'#147#251#255'L'#145#251#255'H'#143#251#255'E'#142#251#255'B'#140
+  +#251#255'?'#138#252#255'<'#136#252#255'8'#134#252#255'5'#132#252#255'2'#131
+  +#252#255'/'#129#252#255','#127#253#255')}'#253#255'&{'#253#255'"u'#243#249'!'
+  +'R'#172#167'3'#0#0#5#255#255#255#0#255#255#255#0#0#0#0#1'Z'#135#216'u\'#154
+  +#249#254'Y'#153#250#255'U'#151#250#255'R'#149#251#255'O'#147#251#255'L'#145
+  +#251#255'I'#144#251#255'F'#142#251#255'B'#140#251#255'?'#138#252#255'<'#136
+  +#252#255'9'#134#252#255'6'#133#252#255'2'#131#252#255'/'#129#252#255','#127
+  +#253#255')x'#241#252''''#22',u9'#0#0#9#255#255#255#0#255#255#255#0#255#255
+  +#255#0#255#255#255#0#0#0#0#2'.'#0#0#11'W'#138#223#228'Y'#153#250#255'V'#151
+  +#250#255'R'#149#251#255'O'#147#251#255'L'#145#251#255'I'#144#251#255'F'#142
+  +#251#255'C'#140#251#255'?'#138#252#255'<'#136#252#255'9'#135#252#255'6'#133
+  +#252#255'3'#131#252#255'0'#128#251#255',}'#249#253')`'#194#209'3'#0#0#10#255
+  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0'_'#143#230
+  +'M^'#154#247#253'Y'#148#238#244'Y'#153#250#255'V'#151#250#255'S'#149#251#255
+  +'P'#147#251#255'L'#146#251#255'I'#144#251#255'F'#142#251#255'C'#140#251#255
+  +'@'#138#252#255'='#137#252#255'9'#135#252#255'6'#133#252#255'2w'#227#247'('#7
+  +#14'K/'#23'/'#11#0#0#0#1#255#255#255#0#255#255#255#0#255#255#255#0#255#255
+  +#255#0#255#255#255#0'f'#153#205#5'//F'#11'V'#129#205#146']'#155#250#255'Y'
+  +#153#250#255'V'#151#250#255'S'#149#251#255'P'#148#251#255'M'#146#251#255'I'
+  +#144#251#255'F'#142#251#255'C'#140#251#255'@'#139#252#255'='#137#252#255'6n'
+  +#206#226'6~'#239#237'+@{t@'#0#0#4#255#255#255#0#255#255#255#0#255#255#255#0
+  +#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#0#2'\'#141#222
+  +#157'Rz'#193#163'X'#139#224#207'Z'#153#250#255'V'#151#250#255'S'#150#251#255
+  +'P'#148#251#255'M'#146#251#255'J'#144#251#255'G'#142#251#255'A'#131#232#247
+  +'@'#139#252#255'1D~'#176'3'#0#0#10'U'#0#0#3#255#255#255#0#255#255#255#0#255
+  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
+  +#255#0#255#255#255#0#0#0#0#2'+'#0#0#6'Z'#141#224#183'Qz'#198#202'T'#136#222
+  +#189'V'#151#249#254'P'#135#226#228'P'#148#251#255'Ft'#200#211'I'#144#250#254
+  +'6F{'#164'>z'#219'T9a'#172'T'#0#0#0#2#255#255#255#0#255#255#255#0#255#255#255
+  +#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255
+  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0'`'#150#235#24'3'#0#0#5
+  +'Z'#145#232'UMs'#186#171'Ho'#178')P'#141#236#232'/'#21')%H'#133#229'd8Cx9'#0
+  +#0#0#2#0#0#0#2#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255
+  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
+  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0
+  +#255#255#255#0'@'#0#0#4#255#255#255#0'Io'#184#14#0#0#0#2#255#255#255#0#0#0#0
+  +#2#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255
+  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
+  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0
+  +#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255
+  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
+  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0
+  +#7'OnClick'#7#20'bbNewConstraintClick'#8'TabOrder'#2#2#0#0#7'TBitBtn'#16'bbD'
+  ,'ropConstraint'#4'Left'#3#160#0#6'Height'#2'+'#3'Top'#3'R'#1#5'Width'#2'K'#7
+  +'Anchors'#11#6'akLeft'#8'akBottom'#0#7'Caption'#6#4'Drop'#5'Color'#4#219#242
+  +#247#0#4'Kind'#7#8'bkIgnore'#7'OnClick'#7#21'bbDropConstraintClick'#8'TabOrd'
+  +'er'#2#3#0#0#0#9'TTabSheet'#10'tsTriggers'#7'Caption'#6#8'Triggers'#12'Clien'
+  +'tHeight'#3'~'#1#11'ClientWidth'#3'-'#3#10'ImageIndex'#2#1#0#11'TStringGrid'
+  +#10'sgTriggers'#4'Left'#2#0#6'Height'#3'D'#1#3'Top'#2#255#5'Width'#3#27#3#7
+  +'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#8'ColCount'#2#2#7'C'
+  +'olumns'#14#1#13'Title.Caption'#6#12'Trigger Name'#5'Width'#3#160#0#0#1#11'B'
+  +'uttonStyle'#7#17'cbsCheckboxColumn'#13'Title.Caption'#6#6'Active'#5'Width'#2
+  +'d'#0#0#10'FixedColor'#4#207#218#221#0#9'FixedCols'#2#0#7'Options'#11#15'goF'
+  +'ixedVertLine'#15'goFixedHorzLine'#10'goVertLine'#10'goHorzLine'#13'goRangeS'
+  +'elect'#11'goColSizing'#11'goRowSelect'#14'goSmoothScroll'#0#8'RowCount'#2#2
+  +#8'TabOrder'#2#0#0#0#7'TBitBtn'#17'bbRefreshTriggers'#4'Left'#3#196#2#6'Heig'
+  +'ht'#2'.'#3'Top'#3'L'#1#5'Width'#2'W'#7'Anchors'#11#7'akRight'#8'akBottom'#0
+  +#7'Caption'#6#7'Refresh'#5'Color'#4#219#242#247#0#4'Kind'#7#7'bkRetry'#7'OnC'
+  +'lick'#7#22'bbRefreshTriggersClick'#8'TabOrder'#2#1#0#0#7'TBitBtn'#12'bbNewT'
+  +'rigger'#4'Left'#2#6#6'Height'#2'.'#3'Top'#3'L'#1#5'Width'#2'~'#7'Anchors'#11
+  +#6'akLeft'#8'akBottom'#0#7'Caption'#6#11'New Trigger'#5'Color'#4#219#242#247
   +#0#10'Glyph.Data'#10':'#9#0#0'6'#9#0#0'BM6'#9#0#0#0#0#0#0'6'#0#0#0'('#0#0#0
   +#24#0#0#0#24#0#0#0#1#0' '#0#0#0#0#0#0#9#0#0'd'#0#0#0'd'#0#0#0#0#0#0#0#0#0#0#0
   +#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255
@@ -449,128 +571,6 @@ LazarusResources.Add('TfmTableManage','FORMDATA',[
   +#255#26'u'#254#255#23's'#254#255#20'q'#254#255#18'j'#242#252' '#21'.o!'#0#0
   +#23#0#0#0#1#255#255#255#0#255#255#255#0#255#255#255#0'7%J'#14'C}'#220#206'D'
   +#141#251#255'A'#139#252#255'>'#137#252#255':'#135#252#255'7'#134#252#255'4'
-  ,#132#252#255'1'#130#252#255'.'#128#253#255'*~'#253#255'''|'#253#255'${'#253
-  +#255'!y'#253#255#30'w'#253#255#27'u'#254#255#23's'#254#255#20'r'#254#255#18
-  +'k'#242#251#24'A'#151#193'+'#0#0#6#255#255#255#0#255#255#255#0'Kw'#205#24'Hx'
-  +#207#212'I'#140#243#253'G'#143#251#255'D'#141#251#255'A'#139#252#255'>'#137
-  +#252#255';'#136#252#255'8'#134#252#255'4'#132#252#255'1'#130#252#255'.'#128
-  +#253#255'+~'#253#255'(}'#253#255'${'#253#255'!y'#253#255#30'w'#253#255#27'u'
-  +#254#255#24't'#254#255#24'Z'#201#232#29'$T*'#0#0#0#2#255#255#255#0#255#255
-  +#255#0#0#0#0#1'L'#130#220'qM'#143#244#249'K'#145#251#255'H'#143#251#255'D'
-  +#141#251#255'A'#139#252#255'>'#137#252#255';'#136#252#255'8'#134#252#255'5'
-  +#132#252#255'1'#130#252#255'.'#128#253#255'+'#127#253#255'(}'#253#255'%{'#253
-  +#255'"y'#253#255#30'w'#253#255#27'v'#254#255#25'i'#230#249#29'>'#138#201''''
-  +#0#0'!'#0#0#0#2#255#255#255#0'@'#0#0#4'Dd'#166#150'O'#142#241#251'N'#147#251
-  +#255'K'#145#251#255'H'#143#251#255'E'#141#251#255'A'#139#251#255'>'#138#252
-  +#255';'#136#252#255'8'#134#252#255'5'#132#252#255'2'#130#252#255'/'#129#253
-  +#255'+'#127#253#255'(}'#253#255'%{'#253#255'"y'#253#255#31'x'#253#255#28'l'
-  +#232#246#27'U'#186#150'@'#0#0#4#255#255#255#0#255#255#255#0'V'#135#232#21'S'
-  +#138#228#193'T'#147#244#250'R'#149#251#255'N'#147#251#255'K'#145#251#255'H'
-  +#143#251#255'E'#141#251#255'B'#140#251#255'?'#138#252#255';'#136#252#255'8'
-  +#134#252#255'5'#132#252#255'2'#131#252#255'/'#129#252#255','#127#253#255'(}'
-  +#253#255'%{'#253#255'"y'#253#255' ]'#197#237'$'#16'&^@'#0#0#4#255#255#255#0
-  +#255#255#255#0#255#255#255#0';(O'#13'P~'#208#216'U'#151#250#255'R'#149#251
-  +#255'O'#147#251#255'L'#145#251#255'H'#143#251#255'E'#142#251#255'B'#140#251
-  +#255'?'#138#252#255'<'#136#252#255'8'#134#252#255'5'#132#252#255'2'#131#252
-  +#255'/'#129#252#255','#127#253#255')}'#253#255'&{'#253#255'"u'#243#249'!R'
-  +#172#167'3'#0#0#5#255#255#255#0#255#255#255#0#0#0#0#1'Z'#135#216'u\'#154#249
-  +#254'Y'#153#250#255'U'#151#250#255'R'#149#251#255'O'#147#251#255'L'#145#251
-  +#255'I'#144#251#255'F'#142#251#255'B'#140#251#255'?'#138#252#255'<'#136#252
-  +#255'9'#134#252#255'6'#133#252#255'2'#131#252#255'/'#129#252#255','#127#253
-  +#255')x'#241#252''''#22',u9'#0#0#9#255#255#255#0#255#255#255#0#255#255#255#0
-  +#255#255#255#0#0#0#0#2'.'#0#0#11'W'#138#223#228'Y'#153#250#255'V'#151#250#255
-  +'R'#149#251#255'O'#147#251#255'L'#145#251#255'I'#144#251#255'F'#142#251#255
-  +'C'#140#251#255'?'#138#252#255'<'#136#252#255'9'#135#252#255'6'#133#252#255
-  +'3'#131#252#255'0'#128#251#255',}'#249#253')`'#194#209'3'#0#0#10#255#255#255
-  +#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0'_'#143#230'M^'#154
-  +#247#253'Y'#148#238#244'Y'#153#250#255'V'#151#250#255'S'#149#251#255'P'#147
-  +#251#255'L'#146#251#255'I'#144#251#255'F'#142#251#255'C'#140#251#255'@'#138
-  +#252#255'='#137#252#255'9'#135#252#255'6'#133#252#255'2w'#227#247'('#7#14'K/'
-  +#23'/'#11#0#0#0#1#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255
-  +#255#255#0'f'#153#205#5'//F'#11'V'#129#205#146']'#155#250#255'Y'#153#250#255
-  +'V'#151#250#255'S'#149#251#255'P'#148#251#255'M'#146#251#255'I'#144#251#255
-  +'F'#142#251#255'C'#140#251#255'@'#139#252#255'='#137#252#255'6n'#206#226'6~'
-  +#239#237'+@{t@'#0#0#4#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0
-  +#255#255#255#0#255#255#255#0#255#255#255#0#0#0#0#2'\'#141#222#157'Rz'#193#163
-  +'X'#139#224#207'Z'#153#250#255'V'#151#250#255'S'#150#251#255'P'#148#251#255
-  +'M'#146#251#255'J'#144#251#255'G'#142#251#255'A'#131#232#247'@'#139#252#255
-  +'1D~'#176'3'#0#0#10'U'#0#0#3#255#255#255#0#255#255#255#0#255#255#255#0#255
-  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
-  +#255#0#0#0#0#2'+'#0#0#6'Z'#141#224#183'Qz'#198#202'T'#136#222#189'V'#151#249
-  +#254'P'#135#226#228'P'#148#251#255'Ft'#200#211'I'#144#250#254'6F{'#164'>z'
-  +#219'T9a'#172'T'#0#0#0#2#255#255#255#0#255#255#255#0#255#255#255#0#255#255
-  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0
-  +#255#255#255#0#255#255#255#0#255#255#255#0'`'#150#235#24'3'#0#0#5'Z'#145#232
-  +'UMs'#186#171'Ho'#178')P'#141#236#232'/'#21')%H'#133#229'd8Cx9'#0#0#0#2#0#0#0
-  +#2#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255
-  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
-  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0
-  +'@'#0#0#4#255#255#255#0'Io'#184#14#0#0#0#2#255#255#255#0#0#0#0#2#255#255#255
-  +#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255
-  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
-  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0
-  +#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255
-  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
-  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#7'OnClick'#7
-  +#20'bbNewConstraintClick'#8'TabOrder'#2#2#0#0#7'TBitBtn'#16'bbDropConstraint'
-  ,#4'Left'#3#160#0#6'Height'#2'+'#3'Top'#3'R'#1#5'Width'#2'K'#7'Anchors'#11#6
-  +'akLeft'#8'akBottom'#0#7'Caption'#6#4'Drop'#5'Color'#4#219#242#247#0#4'Kind'
-  +#7#8'bkIgnore'#7'OnClick'#7#21'bbDropConstraintClick'#8'TabOrder'#2#3#0#0#0#9
-  +'TTabSheet'#10'tsTriggers'#7'Caption'#6#8'Triggers'#12'ClientHeight'#3'~'#1
-  +#11'ClientWidth'#3'-'#3#10'ImageIndex'#2#1#0#11'TStringGrid'#10'sgTriggers'#4
-  +'Left'#2#0#6'Height'#3'D'#1#3'Top'#2#255#5'Width'#3#27#3#7'Anchors'#11#5'akT'
-  +'op'#6'akLeft'#7'akRight'#8'akBottom'#0#8'ColCount'#2#2#7'Columns'#14#1#13'T'
-  +'itle.Caption'#6#12'Trigger Name'#5'Width'#3#160#0#0#1#11'ButtonStyle'#7#17
-  +'cbsCheckboxColumn'#13'Title.Caption'#6#6'Active'#5'Width'#2'd'#0#0#10'Fixed'
-  +'Color'#4#207#218#221#0#9'FixedCols'#2#0#7'Options'#11#15'goFixedVertLine'#15
-  +'goFixedHorzLine'#10'goVertLine'#10'goHorzLine'#13'goRangeSelect'#11'goColSi'
-  +'zing'#11'goRowSelect'#14'goSmoothScroll'#0#8'RowCount'#2#2#8'TabOrder'#2#0#0
-  +#0#7'TBitBtn'#17'bbRefreshTriggers'#4'Left'#3#196#2#6'Height'#2'.'#3'Top'#3
-  +'L'#1#5'Width'#2'W'#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'Caption'#6#7'Re'
-  +'fresh'#5'Color'#4#219#242#247#0#4'Kind'#7#7'bkRetry'#7'OnClick'#7#22'bbRefr'
-  +'eshTriggersClick'#8'TabOrder'#2#1#0#0#7'TBitBtn'#12'bbNewTrigger'#4'Left'#2
-  +#6#6'Height'#2'.'#3'Top'#3'L'#1#5'Width'#2'~'#7'Anchors'#11#6'akLeft'#8'akBo'
-  +'ttom'#0#7'Caption'#6#11'New Trigger'#5'Color'#4#219#242#247#0#10'Glyph.Data'
-  +#10':'#9#0#0'6'#9#0#0'BM6'#9#0#0#0#0#0#0'6'#0#0#0'('#0#0#0#24#0#0#0#24#0#0#0
-  +#1#0' '#0#0#0#0#0#0#9#0#0'd'#0#0#0'd'#0#0#0#0#0#0#0#0#0#0#0#255#255#255#0#255
-  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
-  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#0#0#0#1#255#255#255#0#0#0#0
-  +#2#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255
-  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
-  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0
-  +#255#255#255#0#255#255#255#0#0#0#0#1#0#0#0#2#0#0#0#2''''#0#0#26#0#0#0#4'%'#22
-  +'7/9'#0#0#9'U'#0#0#3'@'#0#0#4#255#255#255#0#255#255#255#0#255#255#255#0#255
-  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
-  +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0
-  +#0#0#0#1'&?}-%'#0#0')'#31']'#198'f'#31'F'#153#212'"0nF'#20'f'#228#241'$'#9#19
-  +'R'#19'I'#171#136#31#25'>o@'#0#0#8'3'#0#0#5#255#255#255#0#255#255#255#0#255
-  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
-  +#255#0#255#255#255#0#255#255#255#0#0#0#0#1'3'#0#0#10'$'#0#0#14'%l'#220#189'$'
-  +'V'#178#228' ^'#198#215#28'u'#251#255#27'b'#215#242#22's'#254#255#24'R'#185
-  +#230#16'n'#253#254#27'0q'#180#23'<'#142#131#24',j'#140'+'#0#0#6#0#0#0#2#255
-  +#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255
-  +#255#0#255#255#255#0#255#255#255#0#0#0#0#5'.l'#210#168'*L'#150#213')h'#209
-  +#226'&|'#253#255'#z'#253#255' x'#253#255#28'v'#253#255#25't'#254#255#22's'
-  +#254#255#19'q'#254#255#17'f'#233#250#13'm'#254#255#23'6'#130#173'#'#0#0#29'('
-  +#0#0' '#0#0#0#2#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255
-  +#255#255#0#255#255#255#0'33g'#10''''#8#12'@0h'#199#152'0'#129#252#255'-'#127
-  +#253#255')~'#253#255'&|'#253#255'#z'#253#255' x'#253#255#29'v'#253#255#26'u'
-  +#254#255#22's'#254#255#19'q'#254#255#16'o'#254#255#18'U'#197#238#13'b'#231
-  +#247#25'/o'#131'+'#0#0#6#255#255#255#0#255#255#255#0#255#255#255#0#255#255
-  +#255#0#255#255#255#0#255#255#255#0';'#127#230'M:'#133#249#253'5|'#235#250'3'
-  +#131#252#255'0'#129#252#255'-'#128#253#255'*~'#253#255'''|'#253#255'#z'#253
-  +#255' x'#253#255#29'w'#253#255#26'u'#254#255#23's'#254#255#19'q'#254#255#16
-  +'o'#254#255#15'c'#228#248'%'#6#12'Y%'#4#8'?$'#0#0#7#255#255#255#0#255#255#255
-  +#0#255#255#255#0#255#255#255#0' '#0#0#8'&'#0#0'6:z'#225#229':'#135#252#255'7'
-  +#133#252#255'3'#131#252#255'0'#130#252#255'-'#128#253#255'*~'#253#255'''|'
-  +#253#255'$z'#253#255' y'#253#255#29'w'#253#255#26'u'#254#255#23's'#254#255#20
-  +'q'#254#255#17'p'#253#255#14'l'#249#254#17'P'#188#216' '#0#0#8#255#255#255#0
-  +#255#255#255#0#255#255#255#0#0#0#0#1'C}'#221'rC'#140#250#254'@'#139#252#255
-  +'='#137#252#255':'#135#252#255'7'#133#252#255'4'#132#252#255'1'#130#252#255
-  +'-'#128#253#255'*~'#253#255'''|'#253#255'${'#253#255'!y'#253#255#30'w'#253
-  +#255#26'u'#254#255#23's'#254#255#20'q'#254#255#18'j'#242#252' '#21'.o!'#0#0
-  +#23#0#0#0#1#255#255#255#0#255#255#255#0#255#255#255#0'7%J'#14'C}'#220#206'D'
-  +#141#251#255'A'#139#252#255'>'#137#252#255':'#135#252#255'7'#134#252#255'4'
   +#132#252#255'1'#130#252#255'.'#128#253#255'*~'#253#255'''|'#253#255'${'#253
   +#255'!y'#253#255#30'w'#253#255#27'u'#254#255#23's'#254#255#20'r'#254#255#18
   +'k'#242#251#24'A'#151#193'+'#0#0#6#255#255#255#0#255#255#255#0'Kw'#205#24'Hx'
@@ -965,9 +965,9 @@ LazarusResources.Add('TfmTableManage','FORMDATA',[
   +#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0#255#255#255#0
   +#255#255#255#0#255#255#255#0#255#255#255#0#24'qG6'#0#128#0#2#255#255#255#0
   +#255#255#255#0#7'OnClick'#7#14'bbAddUserClick'#8'TabOrder'#2#3#0#0#0#9'TTabS'
-  +'heet'#12'tsReferences'#7'Caption'#6#10'References'#12'ClientHeight'#3#130#1
-  +#11'ClientWidth'#3')'#3#10'ImageIndex'#2#5#0#11'TStringGrid'#12'sgReferences'
-  +#4'Left'#2#0#6'Height'#3#26#1#3'Top'#2#0#5'Width'#3')'#3#5'Align'#7#5'alTop'
+  +'heet'#12'tsReferences'#7'Caption'#6#10'References'#12'ClientHeight'#3'~'#1
+  +#11'ClientWidth'#3'-'#3#10'ImageIndex'#2#5#0#11'TStringGrid'#12'sgReferences'
+  +#4'Left'#2#0#6'Height'#3#22#1#3'Top'#2#0#5'Width'#3'-'#3#5'Align'#7#5'alTop'
   +#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#8'ColCount'#2#4#7
   +'Columns'#14#1#13'Title.Caption'#6#15'Constraint name'#5'Width'#3#200#0#0#1
   +#13'Title.Caption'#6#13'Foreign Table'#5'Width'#3#200#0#0#1#11'ButtonStyle'#7
@@ -976,8 +976,8 @@ LazarusResources.Add('TfmTableManage','FORMDATA',[
   +'Width'#3#190#0#0#0#10'FixedColor'#4#207#218#221#0#9'FixedCols'#2#0#7'Option'
   +'s'#11#15'goFixedVertLine'#15'goFixedHorzLine'#10'goVertLine'#10'goHorzLine'
   +#13'goRangeSelect'#11'goColSizing'#11'goRowSelect'#14'goSmoothScroll'#0#8'Ta'
-  +'bOrder'#2#0#0#0#7'TBitBtn'#19'bbRefreshReferences'#4'Left'#3#181#2#6'Height'
-  +#2'+'#3'Top'#3'V'#1#5'Width'#2'c'#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'C'
+  +'bOrder'#2#0#0#0#7'TBitBtn'#19'bbRefreshReferences'#4'Left'#3#185#2#6'Height'
+  +#2'+'#3'Top'#3'R'#1#5'Width'#2'c'#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'C'
   +'aption'#6#7'Refresh'#5'Color'#4#219#242#247#0#4'Kind'#7#7'bkRetry'#7'OnClic'
   +'k'#7#24'bbRefreshReferencesClick'#8'TabOrder'#2#1#0#0#0#0#7'TBitBtn'#7'bbCl'
   +'ose'#4'Left'#3#23#3#6'Height'#2#24#3'Top'#2#0#5'Width'#2#27#7'Anchors'#11#5

+ 3 - 3
tablemanage.pas

@@ -377,9 +377,9 @@ begin
   begin
     RowCount:= RowCount + 1;
     Cells[0, RowCount - 1]:= FieldByName('ConstName').AsString;
-    Cells[1, RowCount - 1]:= FieldByName('CurrentTableName').AsString;
-    Cells[2, RowCount - 1]:= FieldByName('CurrentFieldName').AsString;
-    Cells[3, RowCount - 1]:= FieldByName('OtherFieldName').AsString;
+    Cells[1, RowCount - 1]:= FieldByName('OtherTableName').AsString;
+    Cells[2, RowCount - 1]:= FieldByName('OtherFieldName').AsString;
+    Cells[3, RowCount - 1]:= FieldByName('KeyName').AsString;
     Next;
 
   end;