Changeset 20 for trunk/Modules
- Timestamp:
- Nov 15, 2012, 8:59:57 PM (12 years ago)
- Location:
- trunk/Modules
- Files:
-
- 7 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Attendance/UModuleAttendance.pas
r19 r20 52 52 procedure DoStart; override; 53 53 procedure DoStop; override; 54 procedure DoInstall; override; 55 procedure DoUninstall; override; 54 56 public 55 57 constructor Create(Owner: TComponent); override; … … 187 189 ReferencedTable := 'User'; 188 190 with AddItem(SOperation, 'Operation', ctReference, True, Bounds(1, 1, 1, 1)) do 189 ReferencedTable := ' User';191 ReferencedTable := 'Operation'; 190 192 with AddItem(STerminal, 'Terminal', ctReference, True, Bounds(3, 1, 1, 1)) do 191 ReferencedTable := ' User';193 ReferencedTable := 'Terminal'; 192 194 end; 193 195 Name := 'Passage'; … … 283 285 AddItem(SAddress, 'Address', True, 120); 284 286 AddItem(SPort, 'Port', True, 50); 285 AddItem(SType, 'Type', True, 80); 287 with AddItem(SType, 'Type', True, 80) do 288 ReferencedTable := 'TerminalType'; 286 289 AddItem(SNote, 'Note', True, 80); 287 290 end; … … 298 301 AddItem(SAddress, 'Address', ctEdit, True, Bounds(1, 1, 1, 1)); 299 302 AddItem(SPort, 'Port', ctSpinEdit, True, Bounds(3, 1, 1, 1)); 300 AddItem(SType, 'Type', ctComboBox, True, Bounds(1, 2, 1, 1)); 303 with AddItem(SType, 'Type', ctReference, True, Bounds(1, 2, 1, 1)) do 304 ReferencedTable := 'TerminalType'; 301 305 AddItem(SNote, 'Note', ctMemo, True, Bounds(0, 4, 4, 4), alTop); 302 306 end; … … 377 381 end; 378 382 383 procedure TModuleAttendance.DoInstall; 384 begin 385 inherited DoInstall; 386 end; 387 388 procedure TModuleAttendance.DoUninstall; 389 begin 390 inherited DoUninstall; 391 end; 392 379 393 constructor TModuleAttendance.Create(Owner: TComponent); 380 394 begin
Note:
See TracChangeset
for help on using the changeset viewer.