Procedure

TfrmTemplateFields.UpdateStatus

Module

fTemplateFields

Last Modified

7/15/2014 3:26:44 PM

Visibility

Public

Owner

TfrmTemplateFields

Declaration

procedure UpdateStatus;

Calls Hierarchy


TfrmTemplateFields.UpdateStatus
 └TfrmTemplateFields.ValidInsert

Called-By Hierarchy


                        TfrmTemplateFields.UpdateStatus
                             TfrmTemplateFields.Setre┤ 
         TfrmTemplateFieldEditor.edtpopControlEnter┤ │ 
TfrmTemplateFieldEditor.mnuInsertTemplateFieldClick┤ │ 
           TfrmTemplateEditor.mnuBPInsertFieldClick┘ │ 
                 TfrmTemplateEditor.tvTreeKeyDown┘   │ 
              TfrmTemplateEditor.UpdateInsertsDialogs┘ 
                  TfrmTemplateEditor.EnableControls┤   
                  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.DisplayBoilerplate┘   
                      TfrmTemplateEditor.ShowInfo┤     
                               EditTemplates...┤ │     
             TfrmTemplateEditor.tvTreeChange...┤ │     
                TfrmTemplateEditor.reBoilChange┤ │     
             TfrmTemplateEditor.mnuAutoGenClick┤ │     
      TfrmTemplateEditor.mnuImportTemplateClick┘ │     
                  TfrmTemplateEditor.edtGapChange┘     

Calls

Name Declaration Comments
TfrmTemplateFields.ValidInsert function ValidInsert: boolean; -

Called-By

Name Declaration Comments
TfrmTemplateFields.Setre procedure Setre(const Value: TCustomEdit); -
TfrmTemplateEditor.UpdateInsertsDialogs procedure UpdateInsertsDialogs; -


Source

163   procedure TfrmTemplateFields.UpdateStatus;
164   begin
165     FInsertAllowed := (not TORExposedCustomEdit(re).ReadOnly);
166     btnInsert.Enabled := ValidInsert and FInsertAllowed;
167   end;