Changeset 18


Ignore:
Timestamp:
Nov 15, 2012, 3:34:26 PM (12 years ago)
Author:
chronos
Message:
 
Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r14 r18  
    167167    Align := alClient;
    168168    Show;
    169     View := TDataViewList(DataViewLists[TTabSheet(Sender).Tag]);
     169    if TTabSheet(Sender).Tag < DataViewLists.Count then
     170      View := TDataViewList(DataViewLists[TTabSheet(Sender).Tag])
     171      else View := nil;
    170172    UpdateData;
    171173  end;
  • trunk/Modules/Attendance/UModuleAttendance.pas

    r17 r18  
    299299      AddItem(SPort, 'Port', ctSpinEdit, True, Bounds(3, 1, 1, 1));
    300300      AddItem(SType, 'Type', ctComboBox, True, Bounds(1, 2, 1, 1));
    301       AddItem(SNote, 'Note', ctMemo, True, Bounds(3, 2, 1, 1));
     301      AddItem(SNote, 'Note', ctMemo, True, Bounds(0, 4, 4, 4), alTop);
    302302    end;
    303303    Name := 'Terminal';
Note: See TracChangeset for help on using the changeset viewer.