Procedure

TfrmLabs.CommonComponentVisible

Module

fLabs

Last Modified

7/15/2014 3:26:38 PM

Visibility

Private

Owner

TfrmLabs

Declaration

procedure CommonComponentVisible(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12: Boolean);

Called-By Hierarchy


                      TfrmLabs.CommonComponentVisible
                            TfrmLabs.tvReportsClick┘ 
                             TfrmLabs.DisplayPage┤   
                            TfrmLabs.LoadTreeView┤   
                           TfrmLabs.DisplayPage┤ │   
         TfrmOptionsReportsCustom.btnApplyClick┘ │   
          TfrmOptionsReportsCustom.btnOKClick┘   │   
                      TfrmLabs.cmdOtherTestsClick┤   
                         TfrmLabs.chkMaxFreqClick┤   
                    TfrmLabs.ProcessNotifications┤   
                           TfrmLabs.DisplayPage┘ │   
                                        ..(rec)..┤   
                        TfrmLabs.tvReportsKeyDown┤   
                  TfrmFrame.lstCIRNLocationsClick┘   
                            TfrmFrame.SetUpCIRN┘     
                       TfrmFrame.SetupPatient┘       
                  UpdatePatientInfoForAlert┤         
               TfrmFrame.mnuFileNextClick┘ │         
             TfrmFrame.mnuFileOpenClick┤   │         
                 TfrmFrame.UMInitiate┤ │   │         
        TfrmFrame.mnuFileNextClick...┤ │   │         
        TfrmFrame.mnuFileRefreshClick┤ │   │         
        TfrmOrders.CheckOrderStatus┤ │ │   │         
    TfrmOrders.mnuActChgEvntClick┤ │ │ │   │         
       TfrmOrders.mnuActHoldClick┤ │ │ │   │         
     TfrmOrders.mnuActUnholdClick┤ │ │ │   │         
      TfrmOrders.mnuActRenewClick┤ │ │ │   │         
     TfrmOrders.mnuActChangeClick┤ │ │ │   │         
       TfrmOrders.mnuActCopyClick┘ │ │ │   │         
             TfrmMeds.mnuActDCClick┤ │ │   │         
            TfrmMeds.CheckMedStatus┘ │ │   │         
         TfrmMeds.mnuActHoldClick┤   │ │   │         
        TfrmMeds.mnuActRenewClick┤   │ │   │         
       TfrmMeds.mnuActUnholdClick┤   │ │   │         
       TfrmMeds.mnuActChangeClick┤   │ │   │         
         TfrmMeds.mnuActCopyClick┤   │ │   │         
       TfrmMeds.mnuActRefillClick┘   │ │   │         
                   TfrmFrame.ViewInfo┘ │   │         
                TfrmDCSumm.ViewInfo┤   │   │         
              TfrmConsults.ViewInfo┤   │   │         
      TfrmFrame.pnlRemindersMouseUp┤   │   │         
       TfrmFrame.RemindersChanged┘ │   │   │         
           TfrmFrame.FormCreate┘   │   │   │         
             TfrmFrame.pnlCIRNClick┤   │   │         
       TfrmFrame.pnlVistaWebClick┤ │   │   │         
            TfrmFrame.FormKeyDown┘ │   │   │         
          TfrmFrame.pnlPatientClick┤   │   │         
            TfrmFrame.pnlVisitClick┤   │   │         
      TfrmFrame.pnlPrimaryCareClick┤   │   │         
        TfrmFrame.pnlRemindersClick┤   │   │         
         TfrmFrame.pnlPostingsClick┤   │   │         
             TfrmFrame.pnlFlagClick┤   │   │         
               TfrmFrame.laMHVClick┤   │   │         
              TfrmFrame.laVAA2Click┤   │   │         
                TfrmOrders.ViewInfo┤   │   │         
                  TfrmMeds.ViewInfo┤   │   │         
               TfrmSurgery.ViewInfo┤   │   │         
                 TfrmNotes.ViewInfo┤   │   │         
              TfrmProblems.ViewInfo┘   │   │         
      TfrmFrame.mnuFileNotifRemoveClick┤   │         
              TfrmFrame.NextButtonClick┘   │         
            TfrmFrame.SetUpNextButton┘     │         
      TfrmFrame.mnuFileOpenClick...┤       │         
               TfrmFrame.FormResize┘       │         
             TfrmFrame.ChangeFont┘         │         
     TfrmFrame.LoadSizesForUser┤           │         
TfrmFrame.LoadUserPreferences┘ │           │         
       TfrmFrame.UMInitiate┘   │           │         
     TfrmFrame.mnuFontSizeClick┘           │         
              TfrmFrame.mnuFileOpenClick...┤         
           TfrmFrame.AllowCCOWContextChange┤         
            TfrmFrame.mnuFileNextClick...┤ │         
            TfrmFrame.mnuFileOpenClick...┤ │         
   TfrmFrame.mnuFileResumeContextSetClick┘ │         
                TfrmFrame.UpdateCCOWContext┤         
            TfrmFrame.mnuFileOpenClick...┤ │         
          TfrmFrame.ctxContextorCommitted┤ │         
           TfrmFrame.StartCCOWContextor┘ │ │         
                 TfrmFrame.FormCreate┘   │ │         
   TfrmFrame.mnuFileResumeContextGetClick┘ │         
     TfrmFrame.mnuFileResumeContextSetClick┘         

Called-By

Name Declaration Comments
TfrmLabs.tvReportsClick procedure tvReportsClick(Sender: TObject); -


Source

4606  procedure TfrmLabs.CommonComponentVisible(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12: Boolean);
4607  begin
4608    lstDates.Caption := lblDates.Caption;
4609    lstHeaders.Caption := lblHeaders.Caption;
4610    if A4 or A2 or A12 then
4611      begin
4612        pnlLefTop.Height := (frmLabs.Height div 2);
4613        pnlLeftBottom.Visible := true;
4614        Splitter1.Visible := true;
4615      end
4616      else
4617      begin
4618        pnlLefTop.Height := frmLabs.Height;
4619        pnlLeftBottom.Visible := false;
4620        Splitter1.Visible := false;
4621      end;
4622    lstDates.Visible := false;    // turned off to realign correctly
4623    lblDates.Visible := false;
4624    lstQualifier.Visible := false;
4625    lblQualifier.Visible := false;
4626    pnlOtherTests.Visible := false;
4627    lstHeaders.Visible := false;
4628    lblHeaders.Visible := false;
4629    sptHorzRight.Visible := false;
4630    lblHeaders.Visible := A1;
4631    lstHeaders.Visible := A2;
4632    lblQualifier.Visible := A11;
4633    lstQualifier.Visible := A12;
4634    lblDates.Visible := A4;
4635    lstDates.Visible := A5;        // reordered to realign
4636    pnlOtherTests.Visible := A3;
4637    pnlHeader.Visible := A6;
4638    grdLab.Visible := A7;
4639    pnlChart.Visible := A8;
4640    pnlFooter.Visible := A9;
4641    lvReports.Visible := A10;
4642    sptHorzRight.Visible := true;
4643    if A4 and A1 and (lblDates.Top < lblHeaders.Top) then
4644      begin
4645        lblDates.Caption := 'Headings';  // swithes captions if not aligned
4646        lblHeaders.Caption := 'Date Range';
4647      end
4648      else
4649      begin
4650        lblDates.Caption := 'Date Range';
4651        lblHeaders.Caption := 'Headings';
4652      end;
4653    frmLabs.Realign;
4654  end;