Function

TTemplate.AutoLock

Module

uTemplates

Last Modified

7/15/2014 3:26:44 PM

Visibility

Public

Owner

TTemplate

Declaration

function AutoLock: boolean;

Calls Hierarchy


TTemplate.AutoLock
 └TTemplate.LinkType

Called-By Hierarchy


                                    TTemplate.AutoLock
                                  TTemplate.IsLocked┤ 
               TfrmTemplateEditor.IsTemplateLocked┤ │ 
                                       ..(rec)..┤ │ │ 
                 TfrmTemplateEditor.tvTreeChange┤ │ │ 
              TfrmTemplateEditor.cbActiveClick┤ │ │ │ 
                TfrmTemplateEditor.tvTreeEnter┤ │ │ │ 
              TfrmTemplateEditor.cbShHideClick┤ │ │ │ 
            TfrmTemplateEditor.cbActiveClick┘ │ │ │ │ 
             TfrmTemplateEditor.cbPerHideClick┤ │ │ │ 
            TfrmTemplateEditor.cbActiveClick┘ │ │ │ │ 
              TfrmTemplateEditor.sbDeleteClick┤ │ │ │ 
       TfrmTemplateEditor.mnuNodeDeleteClick┤ │ │ │ │ 
            TfrmTemplateEditor.tvTreeKeyDown┘ │ │ │ │ 
                     TfrmTemplateEditor.Resync┤ │ │ │ 
              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.sbMoveUpClick┤ │ │ │ │ 
          TfrmTemplateEditor.sbMoveDownClick┤ │ │ │ │ 
         TfrmTemplateEditor.sbDeleteClick...┤ │ │ │ │ 
           TfrmTemplateEditor.tvTreeDragDrop┤ │ │ │ │ 
        TfrmTemplateEditor.sbCopyLeftClick┤ │ │ │ │ │ 
       TfrmTemplateEditor.sbCopyRightClick┤ │ │ │ │ │ 
      TfrmTemplateEditor.mnuNodePasteClick┘ │ │ │ │ │ 
             TfrmTemplateEditor.mnuSortClick┤ │ │ │ │ 
           TfrmTemplateEditor.TemplateLocked┘ │ │ │ │ 
             TfrmTemplateEditor.FormCreate┘   │ │ │ │ 
              TfrmTemplateEditor.SharedEditing┤ │ │ │ 
               TfrmTemplateEditor.FormCreate┤ │ │ │ │ 
        TfrmTemplateEditor.cbEditSharedClick┘ │ │ │ │ 
              TfrmTemplateEditor.cbxTypeChange┘ │ │ │ 
                     TfrmTemplateEditor.ShowInfo┤ │ │ 
                              EditTemplates...┤ │ │ │ 
            TfrmTemplateEditor.tvTreeChange...┤ │ │ │ 
               TfrmTemplateEditor.reBoilChange┤ │ │ │ 
            TfrmTemplateEditor.mnuAutoGenClick┤ │ │ │ 
     TfrmTemplateEditor.mnuImportTemplateClick┘ │ │ │ 
                    TfrmTemplateEditor.AllowMove┘ │ │ 
          TfrmTemplateEditor.EnableNavControls┤   │ │ 
           TfrmTemplateEditor.EnableControls┤ │   │ │ 
        TfrmTemplateEditor.tvTreeChange...┘ │ │   │ │ 
            TfrmTemplateEditor.cbActiveClick┤ │   │ │ 
         TfrmTemplateEditor.cbShHideClick...┤ │   │ │ 
        TfrmTemplateEditor.cbPerHideClick...┤ │   │ │ 
                TfrmTemplateEditor.Resync...┘ │   │ │ 
             TfrmTemplateEditor.tvTreeDragOver┤   │ │ 
          TfrmTemplateEditor.tvTreeDragDrop...┤   │ │ 
                    TfrmTemplateEditor.PasteOK┘   │ │ 
        TfrmTemplateEditor.popTemplatesPopup┤     │ │ 
        TfrmTemplateEditor.mnuNodePasteClick┤     │ │ 
         TfrmTemplateEditor.mnuTemplateClick┘     │ │ 
                    TfrmTemplateEditor.ShowInfo...┘ │ 
              TfrmTemplateEditor.IsTemplateLocked...┤ 
                      TfrmTemplateEditor.ShowInfo...┘ 

Calls

Name Declaration Comments
TTemplate.LinkType function LinkType: TTemplateLinkType; -

Called-By

Name Declaration Comments
TTemplate.IsLocked function IsLocked: boolean; -
TfrmTemplateEditor.IsTemplateLocked function IsTemplateLocked(Node: TTreeNode): boolean; -
TfrmTemplateEditor.ShowInfo procedure ShowInfo(Node: TTreeNode); -


Source

2709  function TTemplate.AutoLock: boolean;
2710  begin
2711    Result := FIsCOMObject;
2712    if (not Result) and (not (RealType in AllTemplateLinkTypes)) and (LinkType <> ltNone) then
2713        Result := TRUE;
2714  end;