Procedure

SelectTest

Module

fLabTest

Last Modified

7/15/2014 3:26:38 PM

Scope

Interfaced

Declaration

procedure SelectTest(FontSize: Integer);

Calls Hierarchy


SelectTest
 └TfrmBase508Form.Create
   ├TfrmBase508Form.UpdateAccessibilityActions
   ├UnfocusableControlEnter
   └AdjustControls
     ├TfrmBase508Form.ModifyUnfocusableControl
     └..(rec)..

Called-By Hierarchy


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

Calls

Name Declaration Comments
TfrmBase508Form.Create constructor Create(AOwner: TComponent); override; -

Called-By

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


Source

41    procedure SelectTest(FontSize: Integer);
42    var
43      frmLabTest: TfrmLabTest;
44      W, H: integer;
45    begin
46      frmLabTest := TfrmLabTest.Create(Application);
47      try
48        with frmLabTest do
49        begin
50          Font.Size := FontSize;
51          W := ClientWidth;
52          H := ClientHeight;
53          ResizeToFont(FontSize, W, H);
54          ClientWidth := W; pnlLabTest.Width := W;
55          ClientHeight := H; pnlLabTest.Height := H;
56          lblSpecInfo.Height := cboList.Height;
57          lblSpecInfo.Width := pnlLabTest.Width - cboList.Left - cboList.Width -10;
58          ShowModal;
59        end;
60      finally
61        frmLabTest.Release;
62      end;
63    end;