Procedure

TTemplate.SetHideDlgItems

Module

uTemplates

Last Modified

7/15/2014 3:26:44 PM

Visibility

Protected

Owner

TTemplate

Declaration

procedure SetHideDlgItems(const Value: boolean);

Calls Hierarchy


TTemplate.SetHideDlgItems
 ├TTemplate.CanModify
 │ ├TTemplate.ValidID
 │ └LockTemplate
 └TTemplate.ValidID

Called-By Hierarchy


                 TTemplate.SetHideDlgItems
              TfrmTemplateEditor.cbClick┘ 
 TfrmTemplateEditor.cbDisplayOnlyClick┤   
   TfrmTemplateEditor.cbFirstLineClick┤   
 TfrmTemplateEditor.cbOneItemOnlyClick┤   
TfrmTemplateEditor.cbHideDlgItemsClick┤   
   TfrmTemplateEditor.cbHideItemsClick┤   
      TfrmTemplateEditor.cbIndentClick┤   
        TfrmTemplateEditor.cbLockClick┘   

Calls

Name Declaration Comments
TTemplate.CanModify function CanModify: boolean; -
TTemplate.ValidID function ValidID: boolean; -

Called-By

Name Declaration Comments
TfrmTemplateEditor.cbClick procedure cbClick(Sender: TCheckBox; Index: integer); -


Source

2359  procedure TTemplate.SetHideDlgItems(const Value: boolean);
2360  begin
2361    if(FHideDlgItems <> Value) and CanModify then
2362    begin
2363      with FBkup do
2364      begin
2365        if(not SavedHideDlgItems) and ValidID then
2366        begin
2367          BHideDlgItems := FHideDlgItems;
2368          SavedHideDlgItems := TRUE;
2369        end;
2370      end;
2371      FHideDlgItems := Value;
2372    end;
2373  end;