Function

TTemplate.IsLocked

Module

uTemplates

Last Modified

7/15/2014 3:26:44 PM

Visibility

Public

Owner

TTemplate

Declaration

function IsLocked: boolean;

Calls Hierarchy


TTemplate.IsLocked
 └TTemplate.AutoLock
   └TTemplate.LinkType

Called-By Hierarchy


                                  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...┘ 

Calls

Name Declaration Comments
TTemplate.AutoLock function AutoLock: boolean; -

Called-By

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


Source

2617  function TTemplate.IsLocked: boolean;
2618  begin
2619    Result := (FLock and (FPersonalOwner = 0)) or AutoLock;
2620  end;