Procedure

TfrmGraphs.MakeSeparate

Module

fGraphs

Last Modified

7/15/2014 3:26:36 PM

Visibility

Private

Owner

TfrmGraphs

Declaration

procedure MakeSeparate(aScrollBox: TScrollBox; aListView: TListView; aPadPanel: TPanel; section: string);

Calls Hierarchy


TfrmGraphs.MakeSeparate
 ├TfrmGraphs.chartBaseMouseMove
 │ └TfrmGraphs.InactivateHint
 ├TfrmGraphs.MakeSeparateItems
 │ ├TfrmGraphs.GraphTypeNum
 │ ├TfrmGraphs.TitleInfo
 │ │ └TfrmGraphs.RefUnits
 │ │   └TfrmGraphs.SelectRef
 │ │     └CheckRef
 │ ├TfrmGraphs.MakeChart
 │ │ ├TfrmGraphs.HideDates
 │ │ ├TfrmGraphs.ChartOnZoom
 │ │ │ ├TfrmGraphs.SizeDates
 │ │ │ │ ├TfrmGraphs.GraphFooter
 │ │ │ │ └TfrmGraphs.SeriesForLabels
 │ │ │ └TfrmGraphs.ZoomUpdateInfo
 │ │ │   ├TfrmGraphs.InfoMessage
 │ │ │   └TfrmGraphs.MergedLabsSelected
 │ │ ├TfrmGraphs.ChartOnUndoZoom
 │ │ │ ├TfrmGraphs.SizeDates...
 │ │ │ ├TfrmGraphs.InfoMessage
 │ │ │ └TfrmGraphs.MergedLabsSelected
 │ │ ├TfrmGraphs.chartBaseClickSeries
 │ │ │ ├TfrmGraphs.InactivateHint
 │ │ │ └TfrmGraphs.SeriesClicks
 │ │ │   ├TfrmGraphs.ValueText
 │ │ │   │ ├TfrmGraphs.NonNumText
 │ │ │   │ │ ├TfrmGraphs.FileNameX
 │ │ │   │ │ ├TfrmGraphs.ItemName
 │ │ │   │ │ └TfrmGraphs.SetRefNonNum
 │ │ │   │ │   └TfrmGraphs.RefUnits...
 │ │ │   │ ├TfrmGraphs.ItemCheck
 │ │ │   │ ├TfrmGraphs.CheckMedNum
 │ │ │   │ ├TfrmGraphs.FileNameX
 │ │ │   │ ├TfrmGraphs.ValueDates
 │ │ │   │ ├TfrmGraphs.ResultValue
 │ │ │   │ │ ├TfrmGraphs.serDatelineTopGetMarkText
 │ │ │   │ │ └TfrmGraphs.BPValue
 │ │ │   │ └TfrmGraphs.OtherInfo
 │ │ │   │   └TfrmGraphs.SetRef
 │ │ │   │     └TfrmGraphs.RefUnits...
 │ │ │   ├TfrmGraphs.LabNameResults
 │ │ │   └TfrmGraphs.AllTypeDate
 │ │ │     ├TfrmGraphs.CheckToAddData
 │ │ │     │ ├TfrmGraphs.LabData
 │ │ │     │ │ ├rpcGetItemData
 │ │ │     │ │ │ └onoff
 │ │ │     │ │ ├TfrmGraphs.SpecRefCheck
 │ │ │     │ │ │ └TfrmGraphs.RefUnits...
 │ │ │     │ │ ├TfrmGraphs.SpecRefSet
 │ │ │     │ │ │ └MultiRef
 │ │ │     │ │ ├TfrmGraphs.FileNameX
 │ │ │     │ │ ├TfrmGraphs.LabCheck
 │ │ │     │ │ ├TfrmGraphs.DateRangeMultiItems
 │ │ │     │ │ └TfrmGraphs.LabAdd
 │ │ │     │ └rpcGetItemData...
 │ │ │     ├TfrmGraphs.TempData
 │ │ │     │ ├TfrmGraphs.ItemName
 │ │ │     │ └TfrmGraphs.SetRef...
 │ │ │     └ReportBox
 │ │ │       └CreateReportBox
 │ │ │         └TfrmBase508Form.Create
 │ │ │           ├TfrmBase508Form.UpdateAccessibilityActions
 │ │ │           ├UnfocusableControlEnter
 │ │ │           └AdjustControls
 │ │ │             ├TfrmBase508Form.ModifyUnfocusableControl
 │ │ │             └..(rec)..
 │ │ ├TfrmGraphs.chartBaseClickLegend
 │ │ │ └TfrmGraphs.ItemDateRange
 │ │ │   ├TfrmGraphs.ValueText...
 │ │ │   └ReportBox...
 │ │ ├TfrmGraphs.mnuPopGraphDetailsClick
 │ │ │ ├TfrmGraphs.ItemCheck
 │ │ │ ├TfrmGraphs.HSAbbrev
 │ │ │ ├TfrmGraphs.ValueText...
 │ │ │ ├TfrmGraphs.LabNameResults
 │ │ │ ├TfrmGraphs.AllTypeDate...
 │ │ │ ├TfrmGraphs.OneDayTypeDetails
 │ │ │ │ ├TfrmGraphs.FileNameX
 │ │ │ │ ├TfrmGraphs.ItemName
 │ │ │ │ ├rpcDetailDay
 │ │ │ │ │ └onoff
 │ │ │ │ ├TfrmGraphs.NotifyApps
 │ │ │ │ └ReportBox...
 │ │ │ └TfrmGraphs.AllDetails
 │ │ │   ├TfrmGraphs.HSAbbrev
 │ │ │   ├rpcDetailSelected
 │ │ │   │ └onoff
 │ │ │   ├TfrmGraphs.NotifyApps
 │ │ │   ├ReportBox...
 │ │ │   └TfrmGraphs.ItemDateRange...
 │ │ ├TfrmGraphs.chartBaseMouseDown
 │ │ │ ├TfrmGraphs.InactivateHint
 │ │ │ └TfrmGraphs.MouseClicks
 │ │ │   └TfrmGraphs.LabelClicks
 │ │ │     ├TfrmGraphs.mnuPopGraphDetailsClick...
 │ │ │     ├TfrmGraphs.ValueText...
 │ │ │     ├TfrmGraphs.LabNameResults
 │ │ │     └TfrmGraphs.AllTypeDate...
 │ │ ├TfrmGraphs.chartBaseMouseUp
 │ │ └TfrmGraphs.chartBaseMouseMove...
 │ ├TfrmGraphs.PadLeftEvent
 │ ├TfrmGraphs.MakeLineSeries
 │ │ ├TfrmGraphs.MakeSeriesInfo
 │ │ │ ├TfrmGraphs.GetData
 │ │ │ │ └TfrmGraphs.FMCorrectedDate
 │ │ │ └TfrmGraphs.NextColor
 │ │ ├TfrmGraphs.NextPointerStyle
 │ │ ├TfrmGraphs.BPCheck
 │ │ │ └TfrmGraphs.MakeSeriesBP
 │ │ ├TfrmGraphs.FMCorrectedDate
 │ │ ├TfrmGraphs.HighLow
 │ │ │ └TfrmGraphs.FMToDateTime
 │ │ ├TfrmGraphs.BPAdd
 │ │ │ └TfrmGraphs.BorderValue
 │ │ ├TfrmGraphs.NumAdd
 │ │ │ ├TfrmGraphs.StdDev
 │ │ │ ├TfrmGraphs.BorderValue
 │ │ │ └TfrmGraphs.InvVal
 │ │ ├TfrmGraphs.NonNumSave
 │ │ ├TfrmGraphs.MakeSeriesRef
 │ │ │ └TfrmGraphs.BorderValue
 │ │ ├TfrmGraphs.MakeSeriesPoint
 │ │ ├TfrmGraphs.PainAdd
 │ │ └TfrmGraphs.FixedDates
 │ ├TfrmGraphs.MakeBarSeries
 │ │ ├TfrmGraphs.MakeSeriesPoint
 │ │ ├TfrmGraphs.MakeSeriesInfo...
 │ │ ├TfrmGraphs.NextPointerStyle
 │ │ ├TfrmGraphs.FMCorrectedDate
 │ │ ├TfrmGraphs.HighLow...
 │ │ ├TfrmGraphs.InfoMessage
 │ │ ├TfrmGraphs.MergedLabsSelected
 │ │ └TfrmGraphs.FixedDates
 │ ├TfrmGraphs.MakeVisitGanttSeries
 │ │ ├TfrmGraphs.MakeSeriesPoint
 │ │ ├TfrmGraphs.MakeSeriesInfo...
 │ │ ├TfrmGraphs.FMCorrectedDate
 │ │ ├TfrmGraphs.HighLow...
 │ │ └TfrmGraphs.FixedDates
 │ ├TfrmGraphs.MakePointSeries
 │ │ ├TfrmGraphs.MakeSeriesInfo...
 │ │ ├TfrmGraphs.NextPointerStyle
 │ │ ├TfrmGraphs.FMCorrectedDate
 │ │ ├TfrmGraphs.HighLow...
 │ │ └TfrmGraphs.TempCheck
 │ ├TfrmGraphs.MakeGanttSeries
 │ │ ├TfrmGraphs.MakeSeriesPoint
 │ │ ├TfrmGraphs.MakeSeriesInfo...
 │ │ ├TfrmGraphs.FMCorrectedDate
 │ │ ├TfrmGraphs.HighLow...
 │ │ └TfrmGraphs.FixedDates
 │ └TfrmGraphs.MakeOtherSeries
 │   ├TfrmGraphs.MakeNonNumerics
 │   │ ├TfrmGraphs.PadNonNum
 │   │ │ ├TfrmGraphs.StackNonNum
 │   │ │ └TfrmGraphs.MakeSeriesPoint
 │   │ ├TfrmGraphs.MakeSeriesPoint
 │   │ ├TfrmGraphs.PadLeftNonNumeric
 │   │ ├TfrmGraphs.ChartOnUndoZoom...
 │   │ └TfrmGraphs.MakeNonNumSeries
 │   │   └TfrmGraphs.MakeSeriesPoint
 │   ├TfrmGraphs.DisplayFreeText
 │   └TfrmGraphs.MakeComments
 │     └TfrmGraphs.MakeSeriesPoint
 └TfrmGraphs.AdjustTimeframe
   └TfrmGraphs.BottomAxis
     └..(rec)..

Called-By Hierarchy


                                TfrmGraphs.MakeSeparate
                               TfrmGraphs.DisplayData┤ 
                             TfrmFrame.ClearPatient┤ │ 
                           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┘   │ │ 
                            TfrmReports.ClearPtData┤ │ 
                        TfrmFrame.ClearPatient...┘ │ │ 
                                  TfrmReports.Graph┤ │ 
                       TfrmReports.tvReportsClick┘ │ │ 
                TfrmFrame.lstCIRNLocationsClick┤   │ │ 
                          TfrmFrame.SetUpCIRN┘ │   │ │ 
                  TfrmFrame.SetupPatient...┘   │   │ │ 
                        TfrmReports.DisplayPage┤   │ │ 
                       TfrmReports.LoadTreeView┤   │ │ 
                      TfrmReports.DisplayPage┤ │   │ │ 
         TfrmOptionsReportsDefault.btnOKClick┤ │   │ │ 
      TfrmOptionsReportsDefault.btnResetClick┤ │   │ │ 
       TfrmOptionsReportsCustom.btnApplyClick┘ │   │ │ 
        TfrmOptionsReportsCustom.btnOKClick┘   │   │ │ 
               TfrmReports.ProcessNotifications┤   │ │ 
                      TfrmReports.DisplayPage┘ │   │ │ 
                   TfrmReports.tvReportsKeyDown┤   │ │ 
                TfrmReports.tvProceduresKeyDown┤   │ │ 
                    TfrmReports.chkMaxFreqClick┤   │ │ 
           TfrmOptionsReportsDefault.btnOKClick┤   │ │ 
        TfrmOptionsReportsDefault.btnResetClick┤   │ │ 
      TfrmOptionsReportsCustom.btnApplyClick...┘   │ │ 
                        TfrmGraphs.chkItemsTopClick┤ │ 
                     TfrmGraphs.chkItemsBottomClick┤ │ 
                 TfrmGraphs.mnuPopGraphIsolateClick┤ │ 
                      TfrmGraphs.cboDateRangeChange┤ │ 
                    TfrmReports.lstDateRangeClick┤ │ │ 
                         TfrmReports.GraphPanel┘ │ │ │ 
                         TfrmReports.Graph...┤   │ │ │ 
                TfrmReports.tvReportsClick...┘   │ │ │ 
                            TfrmGraphs.Initialize┤ │ │ 
                      TfrmFrame.ClearPatient...┤ │ │ │ 
                TfrmFrame.mnuToolsGraphingClick┤ │ │ │ 
                         TfrmLabs.grdLabClick┤ │ │ │ │ 
                      TfrmLabs.tvReportsClick┤ │ │ │ │ 
                       TfrmLabs.DisplayPage┤ │ │ │ │ │ 
                      TfrmLabs.LoadTreeView┤ │ │ │ │ │ 
                     TfrmLabs.DisplayPage┤ │ │ │ │ │ │ 
TfrmOptionsReportsCustom.btnApplyClick...┘ │ │ │ │ │ │ 
                TfrmLabs.cmdOtherTestsClick┤ │ │ │ │ │ 
                   TfrmLabs.chkMaxFreqClick┤ │ │ │ │ │ 
              TfrmLabs.ProcessNotifications┤ │ │ │ │ │ 
                     TfrmLabs.DisplayPage┘ │ │ │ │ │ │ 
                                  ..(rec)..┤ │ │ │ │ │ 
                  TfrmLabs.tvReportsKeyDown┤ │ │ │ │ │ 
         TfrmFrame.lstCIRNLocationsClick...┘ │ │ │ │ │ 
                                    ..(rec)..┘ │ │ │ │ 
                     TfrmReports.ClearPtData...┤ │ │ │ 
                           TfrmReports.Graph...┘ │ │ │ 
                              TfrmGraphs.FormShow┤ │ │ 
                TfrmGraphs.btnChangeSettingsClick┤ │ │ 
                 TfrmReports.btnChangeViewClick┘ │ │ │ 
                     TfrmGraphs.CheckExpandedLabs┤ │ │ 
                          TfrmGraphs.ItemsClick┘ │ │ │ 
                    TfrmGraphs.DisplayData...┤   │ │ │ 
               TfrmGraphs.lvwItemsBottomClick┤   │ │ │ 
                   TfrmGraphs.Initialize...┤ │   │ │ │ 
                    TfrmGraphs.CheckContext┤ │   │ │ │ 
                      TfrmGraphs.FormShow┘ │ │   │ │ │ 
               TfrmGraphs.chkDualViewsClick┤ │   │ │ │ 
                 TfrmGraphs.Initialize...┤ │ │   │ │ │ 
                      TfrmGraphs.FormShow┤ │ │   │ │ │ 
                                   Layout┤ │ │   │ │ │ 
                     TfrmGraphs.GetSize┘ │ │ │   │ │ │ 
                  TfrmGraphs.FormShow┘   │ │ │   │ │ │ 
     TfrmGraphs.mnuPopGraphDualViewsClick┤ │ │   │ │ │ 
                TfrmGraphs.ViewSelections┘ │ │   │ │ │ 
          TfrmReports.tvReportsClick...┤   │ │   │ │ │ 
     TfrmGraphs.btnGraphSelectionsClick┘   │ │   │ │ │ 
  TfrmReports.btnGraphSelectionsClick┘     │ │   │ │ │ 
                     TfrmGraphs.GraphSwitch┤ │   │ │ │ 
                     TfrmGraphs.GraphSwap┘ │ │   │ │ │ 
        TfrmGraphs.mnuPopGraphSwapClick┘   │ │   │ │ │ 
                      TfrmGraphs.SplitClick┤ │   │ │ │ 
         TfrmGraphs.mnuPopGraphSplitClick┘ │ │   │ │ │ 
           TfrmGraphs.mnuPopGraphClearClick┤ │   │ │ │ 
                      TfrmGraphs.AutoSelect┤ │   │ │ │ 
                   TfrmGraphs.ViewsChange┘ │ │   │ │ │ 
           TfrmGraphs.lstViewsTopChange┤   │ │   │ │ │ 
             TfrmGraphs.Initialize...┤ │   │ │   │ │ │ 
            TfrmGraphs.GraphSwitch...┤ │   │ │   │ │ │ 
     TfrmGraphs.cboDateRangeChange...┤ │   │ │   │ │ │ 
         TfrmGraphs.ViewSelections...┘ │   │ │   │ │ │ 
        TfrmGraphs.lstViewsBottomChange┘   │ │   │ │ │ 
             TfrmGraphs.Initialize...┤     │ │   │ │ │ 
            TfrmGraphs.GraphSwitch...┤     │ │   │ │ │ 
     TfrmGraphs.cboDateRangeChange...┤     │ │   │ │ │ 
         TfrmGraphs.ViewSelections...┘     │ │   │ │ │ 
            TfrmGraphs.lvwItemsBottomChange┘ │   │ │ │ 
                  TfrmGraphs.lvwItemsTopClick┘   │ │ │ 
                   TfrmGraphs.Initialize...┤     │ │ │ 
                        TfrmGraphs.FormShow┤     │ │ │ 
            TfrmGraphs.chkDualViewsClick...┤     │ │ │ 
                  TfrmGraphs.GraphSwitch...┤     │ │ │ 
                   TfrmGraphs.SplitClick...┤     │ │ │ 
           TfrmGraphs.mnuPopGraphClearClick┤     │ │ │ 
                   TfrmGraphs.AutoSelect...┤     │ │ │ 
           TfrmGraphs.mnuPopGraphResetClick┤     │ │ │ 
                      TfrmGraphs.FormShow┤ │     │ │ │ 
    TfrmGraphs.mnuPopGraphHorizontalClick┤ │     │ │ │ 
      TfrmGraphs.mnuPopGraphVerticalClick┤ │     │ │ │ 
        TfrmGraphs.mnuPopGraphRemoveClick┤ │     │ │ │ 
      TfrmGraphs.mnuPopGraphZoomBackClick┘ │     │ │ │ 
               TfrmGraphs.lvwItemsTopChange┘     │ │ │ 
                        TfrmGraphs.ViewsChange...┤ │ │ 
             TfrmGraphs.mnuPopGraphMergeLabsClick┘ │ │ 
                           TfrmGraphs.ItemsClick...┤ │ 
                          TfrmGraphs.ViewsChange...┤ │ 
                  TfrmGraphs.mnuPopGraphRemoveClick┘ │ 
                         TfrmGraphs.MakeTogetherMaybe┘ 
                          TfrmGraphs.DisplayData...┘   

Calls

Name Declaration Comments
TfrmGraphs.AdjustTimeframe procedure AdjustTimeframe; -
TfrmGraphs.chartBaseMouseMove procedure chartBaseMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); -
TfrmGraphs.MakeSeparateItems procedure MakeSeparateItems(aScrollBox: TScrollBox; aListView: TListView; section: string); -

Called-By

Name Declaration Comments
TfrmGraphs.DisplayData procedure DisplayData(aSection: string); -
TfrmGraphs.MakeTogetherMaybe procedure MakeTogetherMaybe(aScrollBox: TScrollBox; aListView: TListView; aPadPanel: TPanel; section: string); -


Source

2029  procedure TfrmGraphs.MakeSeparate(aScrollBox: TScrollBox; aListView:
2030    TListView; aPadPanel: TPanel; section: string);
2031  var
2032    displayheight, displaynum, i: integer;
2033  begin
2034    FNonNumerics := false;
2035    if section = 'top' then pnlItemsTop.Tag := 0 else pnlItemsBottom.Tag := 0;
2036    while aScrollBox.ControlCount > 0 do
2037      aScrollBox.Controls[0].Free;
2038    aPadPanel.Visible := false;
2039    if FGraphSetting.Hints then         //**************
2040    begin
2041      chartDatelineTop.OnMouseMove := chartBaseMouseMove;
2042      chartDatelineBottom.OnMouseMove := chartBaseMouseMove;
2043    end
2044    else
2045    begin
2046      chartDatelineTop.OnMouseMove := nil;
2047      chartDatelineBottom.OnMouseMove := nil;
2048    end;
2049    MakeSeparateItems(aScrollBox, aListView, section);
2050    if section = 'top' then
2051    begin
2052      pnlDatelineTop.Align := alBottom;
2053      pnlDatelineTop.Height := 30;
2054      scrlTop.Align := alClient;
2055      pnlDatelineTop.Visible := false;
2056    end
2057    else
2058    begin
2059      pnlDatelineBottom.Align := alBottom;
2060      pnlDatelineBottom.Height := 30;
2061      scrlBottom.Align := alClient;
2062      pnlDatelineBottom.Visible := false;
2063    end;
2064    with aScrollBox do
2065    begin
2066      if ControlCount < FGraphSetting.MaxGraphs then        //**** formating should be made for top & bottom
2067        displaynum := ControlCount
2068      else
2069        displaynum := FGraphSetting.MaxGraphs;
2070      if displaynum = 0 then
2071        displaynum := 3;
2072      if (Height div displaynum) < FGraphSetting.MinGraphHeight then
2073        displayheight := FGraphSetting.MinGraphHeight
2074      else
2075        displayheight := (Height div displaynum);
2076      for i := 0 to aScrollBox.ControlCount - 1 do
2077        Controls[i].height := displayheight;
2078    end;
2079    AdjustTimeframe;
2080    if chartDatelineTop.Visible then chartDatelineTop.ZoomPercent(ZOOM_PERCENT);
2081    if chartDatelineBottom.Visible then chartDatelineBottom.ZoomPercent(ZOOM_PERCENT);
2082    if FNonNumerics then
2083      if section = 'top' then pnlItemsTop.Tag := 1
2084      else pnlItemsBottom.Tag := 1;
2085  end;