Changeset 3 for trunk/Forms/UFormTables.pas
- Timestamp:
- Jan 18, 2015, 5:25:37 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 3 3 MyData.lps 4 4 data.xml 5 Config.xml
-
- Property svn:ignore
-
trunk/Forms/UFormTables.pas
r2 r3 38 38 procedure AShowFieldsExecute(Sender: TObject); 39 39 procedure AShowRecordsExecute(Sender: TObject); 40 procedure FormActivate(Sender: TObject); 41 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); 40 42 procedure FormShow(Sender: TObject); 41 43 procedure ListView1Data(Sender: TObject; Item: TListItem); … … 116 118 Database.Tables.Remove(ListView1.Selected.Data); 117 119 ReloadList; 118 UpdateInterface;119 120 end; 120 121 end; … … 138 139 end; 139 140 141 procedure TFormMain.FormActivate(Sender: TObject); 142 begin 143 Core.Init; 144 end; 145 146 procedure TFormMain.FormClose(Sender: TObject; var CloseAction: TCloseAction); 147 begin 148 Core.Done; 149 end; 150 140 151 procedure TFormMain.FormShow(Sender: TObject); 141 152 begin 142 153 Database := Core.Database; 143 154 ReloadList; 144 UpdateInterface;145 155 end; 146 156 … … 149 159 ListView1.Items.Count := Database.Tables.Count; 150 160 ListView1.Repaint; 161 FormMain.UpdateInterface; 151 162 end; 152 163
Note:
See TracChangeset
for help on using the changeset viewer.