Ignore:
Timestamp:
Jan 18, 2015, 5:25:37 PM (10 years ago)
Author:
chronos
Message:
  • Added: Support for editing String and DateTime value types in record edit form.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        33MyData.lps
        44data.xml
         5Config.xml
  • trunk/Forms/UFormTables.pas

    r2 r3  
    3838    procedure AShowFieldsExecute(Sender: TObject);
    3939    procedure AShowRecordsExecute(Sender: TObject);
     40    procedure FormActivate(Sender: TObject);
     41    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    4042    procedure FormShow(Sender: TObject);
    4143    procedure ListView1Data(Sender: TObject; Item: TListItem);
     
    116118    Database.Tables.Remove(ListView1.Selected.Data);
    117119    ReloadList;
    118     UpdateInterface;
    119120  end;
    120121end;
     
    138139end;
    139140
     141procedure TFormMain.FormActivate(Sender: TObject);
     142begin
     143  Core.Init;
     144end;
     145
     146procedure TFormMain.FormClose(Sender: TObject; var CloseAction: TCloseAction);
     147begin
     148  Core.Done;
     149end;
     150
    140151procedure TFormMain.FormShow(Sender: TObject);
    141152begin
    142153  Database := Core.Database;
    143154  ReloadList;
    144   UpdateInterface;
    145155end;
    146156
     
    149159  ListView1.Items.Count := Database.Tables.Count;
    150160  ListView1.Repaint;
     161  FormMain.UpdateInterface;
    151162end;
    152163
Note: See TracChangeset for help on using the changeset viewer.