Procedure

TTemplate.BackupItems

Module

uTemplates

Last Modified

7/15/2014 3:26:44 PM

Visibility

Public

Owner

TTemplate

Declaration

procedure BackupItems;

Calls Hierarchy


TTemplate.BackupItems
 └TTemplate.ItemIENs
   └TTemplate.GetItems
     └ExpandTemplate
       ├TTemplate.GetChildren
       ├GetTemplateChildren
       ├AddTemplate
       │ ├TTemplate.Create
       │ │ └TTemplate.ReminderDialogIEN
       │ └TTemplate.AddChild
       │   └TTemplate.GetItems...
       └TTemplate.ItemIENs...

Called-By Hierarchy


                           TTemplate.BackupItems
                       TTemplate.CreateFromXML┤ 
                                   ..(rec)..┤ │ 
              TfrmTemplateEditor.btnNewClick┘ │ 
                             EditTemplates┤   │ 
     TfrmDCSumm.popSummMemoTemplateClick┤ │   │ 
          TfrmDCSumm.mnuNewTemplateClick┤ │   │ 
        TfrmDCSumm.mnuEditTemplatesClick┤ │   │ 
  TfrmDCSumm.mnuEditSharedTemplatesClick┤ │   │ 
    TfrmDCSumm.mnuNewSharedTemplateClick┤ │   │ 
   TfrmConsults.popNoteMemoTemplateClick┤ │   │ 
      TfrmConsults.mnuEditTemplatesClick┤ │   │ 
        TfrmConsults.mnuNewTemplateClick┤ │   │ 
TfrmConsults.mnuEditSharedTemplatesClick┤ │   │ 
  TfrmConsults.mnuNewSharedTemplateClick┤ │   │ 
       TfrmDrawers.mnuEditTemplatesClick┤ │   │ 
         TfrmDrawers.mnuNewTemplateClick┤ │   │ 
    TfrmSurgery.popNoteMemoTemplateClick┤ │   │ 
       TfrmSurgery.mnuEditTemplatesClick┤ │   │ 
         TfrmSurgery.mnuNewTemplateClick┤ │   │ 
 TfrmSurgery.mnuEditSharedTemplatesClick┤ │   │ 
   TfrmSurgery.mnuNewSharedTemplateClick┤ │   │ 
      TfrmNotes.popNoteMemoTemplateClick┤ │   │ 
         TfrmNotes.mnuEditTemplatesClick┤ │   │ 
           TfrmNotes.mnuNewTemplateClick┤ │   │ 
   TfrmNotes.mnuEditSharedTemplatesClick┤ │   │ 
     TfrmNotes.mnuNewSharedTemplateClick┘ │   │ 
        TfrmTemplateEditor.mnuAutoGenClick┤   │ 
 TfrmTemplateEditor.mnuImportTemplateClick┘   │ 
                               TTemplate.Clone┤ 
                    TfrmTemplateEditor.Clone┘ │ 
         TfrmTemplateEditor.btnNewClick...┤   │ 
       TfrmTemplateEditor.edtNameOldChange┤   │ 
     TfrmTemplateEditor.tvTreeNodeEdited┤ │   │ 
      TfrmTemplateEditor.mnuAutoGenClick┘ │   │ 
          TfrmTemplateEditor.cbActiveClick┤   │ 
         TfrmTemplateEditor.cbExcludeClick┤   │ 
           TfrmTemplateEditor.edtGapChange┤   │ 
          TfrmTemplateEditor.sbMoveUpClick┤   │ 
        TfrmTemplateEditor.sbMoveDownClick┤   │ 
          TfrmTemplateEditor.sbDeleteClick┤   │ 
   TfrmTemplateEditor.mnuNodeDeleteClick┤ │   │ 
        TfrmTemplateEditor.tvTreeKeyDown┘ │   │ 
         TfrmTemplateEditor.tvTreeDragDrop┤   │ 
      TfrmTemplateEditor.sbCopyLeftClick┤ │   │ 
     TfrmTemplateEditor.sbCopyRightClick┤ │   │ 
    TfrmTemplateEditor.mnuNodePasteClick┘ │   │ 
                                 ..(rec)..┤   │ 
           TfrmTemplateEditor.reBoilChange┤   │ 
          TfrmTemplateEditor.reNotesChange┤   │ 
                TfrmTemplateEditor.cbClick┤   │ 
   TfrmTemplateEditor.cbDisplayOnlyClick┤ │   │ 
     TfrmTemplateEditor.cbFirstLineClick┤ │   │ 
   TfrmTemplateEditor.cbOneItemOnlyClick┤ │   │ 
  TfrmTemplateEditor.cbHideDlgItemsClick┤ │   │ 
     TfrmTemplateEditor.cbHideItemsClick┤ │   │ 
        TfrmTemplateEditor.cbIndentClick┤ │   │ 
          TfrmTemplateEditor.cbLockClick┘ │   │ 
          TfrmTemplateEditor.cbxTypeChange┤   │ 
       TfrmTemplateEditor.cbxRemDlgsChange┘   │ 
             TfrmTemplateEditor.btnNewClick...┘ 

Calls

Name Declaration Comments
TTemplate.ItemIENs function ItemIENs: string; -

Called-By

Name Declaration Comments
TfrmTemplateEditor.btnNewClick procedure btnNewClick(Sender: TObject); -
TTemplate.Clone function Clone(Owner: Int64): TTemplate; -
TTemplate.CreateFromXML class function CreateFromXML(Element: IXMLDOMNode; Owner: string): TTemplate; -


Source

2070  procedure TTemplate.BackupItems;
2071  begin
2072    with FBkup do
2073    begin
2074      if((not SavedItemIENs) and assigned(FItems)) then
2075      begin
2076        BItemIENs := ItemIENs;
2077        SavedItemIENs := TRUE;
2078      end;
2079    end;
2080  end;