Function

TTemplate.GetDescription

Module

uTemplates

Last Modified

7/15/2014 3:26:44 PM

Visibility

Protected

Owner

TTemplate

Declaration

function GetDescription: string;

Calls Hierarchy


TTemplate.GetDescription
 └LoadTemplateDescription

Called-By Hierarchy


                            TTemplate.GetDescription
                                      SaveTemplate┤ 
                                SaveAllTemplates┤ │ 
              TfrmTemplateEditor.btnApplyClick┤ │ │ 
          TfrmTemplateEditor.mnuRefreshClick┘ │ │ │ 
                 TfrmTemplateEditor.btnOKClick┤ │ │ 
             TfrmTemplateEditor.FormCloseQuery┘ │ │ 
                    TfrmTemplateEditor.InitTrees┘ │ 
                 TfrmTemplateEditor.FormCreate┤   │ 
                TfrmTemplateEditor.RefreshData┘   │ 
          TfrmTemplateEditor.mnuRefreshClick┘     │ 
                               TTemplate.TrueClone┤ 
                                 TTemplate.Clone┘ │ 
                      TfrmTemplateEditor.Clone┘   │ 
              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┘ │     │ 
         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┘     │ 
                            TTemplate.CanExportXML┤ 
                                       ..(rec)..┤ │ 
       TfrmTemplateEditor.mnuExportTemplateClick┘ │ 
                     TfrmDrawers.popTemplatesPopup┤ 
                     TfrmDrawers.mnuViewNotesClick┤ 
                       TfrmTemplateEditor.ShowInfo┘ 
                                EditTemplates...┤   
                 TfrmTemplateEditor.tvTreeChange┤   
              TfrmTemplateEditor.cbActiveClick┤ │   
                TfrmTemplateEditor.tvTreeEnter┤ │   
              TfrmTemplateEditor.cbShHideClick┤ │   
            TfrmTemplateEditor.cbActiveClick┘ │ │   
             TfrmTemplateEditor.cbPerHideClick┤ │   
            TfrmTemplateEditor.cbActiveClick┘ │ │   
           TfrmTemplateEditor.sbDeleteClick...┤ │   
                     TfrmTemplateEditor.Resync┤ │   
           TfrmTemplateEditor.btnNewClick...┤ │ │   
            TfrmTemplateEditor.sbMoveUpClick┤ │ │   
          TfrmTemplateEditor.sbMoveDownClick┤ │ │   
         TfrmTemplateEditor.sbDeleteClick...┤ │ │   
        TfrmTemplateEditor.tvTreeDragDrop...┤ │ │   
             TfrmTemplateEditor.mnuSortClick┤ │ │   
           TfrmTemplateEditor.TemplateLocked┘ │ │   
             TfrmTemplateEditor.FormCreate┘   │ │   
              TfrmTemplateEditor.SharedEditing┤ │   
               TfrmTemplateEditor.FormCreate┤ │ │   
        TfrmTemplateEditor.cbEditSharedClick┘ │ │   
              TfrmTemplateEditor.cbxTypeChange┘ │   
                 TfrmTemplateEditor.reBoilChange┤   
              TfrmTemplateEditor.mnuAutoGenClick┤   
       TfrmTemplateEditor.mnuImportTemplateClick┘   

Calls

Name Declaration Comments
LoadTemplateDescription procedure LoadTemplateDescription(TemplateIEN: string); -

Called-By

Name Declaration Comments
TTemplate.CanExportXML function CanExportXML(Data, Fields: TStringList; IndentLevel: integer = 0): boolean; -
TfrmDrawers.mnuViewNotesClick procedure mnuViewNotesClick(Sender: TObject); -
TfrmDrawers.popTemplatesPopup procedure popTemplatesPopup(Sender: TObject); -
SaveTemplate procedure SaveTemplate(Template: TTemplate; Idx: integer; ErrorList: TStrings = nil); -
TfrmTemplateEditor.ShowInfo procedure ShowInfo(Node: TTreeNode); -
TTemplate.TrueClone function TrueClone: TTemplate; -


Source

2263  function TTemplate.GetDescription: string;
2264  begin
2265    if(not FDescriptionLoaded) then
2266    begin
2267      StatusText('Loading Template Boilerplate...');
2268      try
2269        LoadTemplateDescription(FID);
2270        FDescription := RPCBrokerV.Results.Text;
2271      finally
2272        StatusText('');
2273      end;
2274      FDescriptionLoaded := TRUE;
2275    end;
2276    Result := FDescription;
2277  end;