@@ -564,7 +564,7 @@ procedure TfrmDashboard.FTreeViewGetImageIndex(Sender: TBaseVirtualTree;
564564begin
565565 DN := Sender.GetNodeData<TDashboardNode>(Node);
566566 LReceiver := DN.Data.Receiver;
567- if (DN.Level =0 )and (Kindin [ikNormal, ikSelected])then
567+ if (DN.Level =0 )and (Column = 0 ) and ( Kindin [ikNormal, ikSelected])then
568568begin
569569if LReceiver = FZmqReceiverthen
570570begin
@@ -602,7 +602,7 @@ procedure TfrmDashboard.FTreeViewGetText(Sender: TBaseVirtualTree;
602602function DateTimeToText (ADateTime: TDateTime): string;
603603begin
604604if Double(ADateTime).SpecialType = fsZerothen
605- Result :=' '
605+ Result :=' '
606606else
607607 Result := DateTimeToStr(ADateTime);
608608end ;
@@ -634,9 +634,19 @@ procedure TfrmDashboard.FTreeViewGetText(Sender: TBaseVirtualTree;
634634else if Column = COLUMN_SOURCEIDthen
635635 CellText := LSubscriber.SourceId.ToString
636636else if Column = COLUMN_MESSAGECOUNTthen
637- CellText := LSubscriber.MessageCount.ToString
637+ begin
638+ if LSubscriber.MessageCount >0 then
639+ CellText := LSubscriber.MessageCount.ToString
640+ else
641+ CellText :=' ' ;
642+ end
638643else if Column = COLUMN_BYTES_RECEIVEDthen
639- CellText := FormatBytes(LSubscriber.BytesReceived)
644+ begin
645+ if LSubscriber.BytesReceived >0 then
646+ CellText := FormatBytes(LSubscriber.BytesReceived)
647+ else
648+ CellText :=' ' ;
649+ end
640650else if Column = COLUMN_TIMESTAMP_FIRSTthen
641651 CellText := DateTimeToText(LSubscriber.TimeStampFirst)
642652else if Column = COLUMN_TIMESTAMP_LASTthen
@@ -1076,7 +1086,7 @@ procedure TfrmDashboard.InitializeTreeView;
10761086begin
10771087 MaxWidth :=90 ;
10781088 MinWidth :=90 ;
1079- Options := [coAllowClick, coEnabled, coParentBidiMode, coShowDropMark,
1089+ Options := [coAllowClick, coEnabled, coParentBidiMode,
10801090 coVisible, coAllowFocus];
10811091 Position := COLUMN_MESSAGECOUNT;
10821092 Width :=90 ;
@@ -1087,7 +1097,7 @@ procedure TfrmDashboard.InitializeTreeView;
10871097begin
10881098 MaxWidth :=80 ;
10891099 MinWidth :=80 ;
1090- Options := [coAllowClick, coEnabled, coParentBidiMode, coShowDropMark,
1100+ Options := [coAllowClick, coEnabled, coParentBidiMode,
10911101 coVisible, coAllowFocus];
10921102 Position := COLUMN_BYTES_RECEIVED;
10931103 Width :=80 ;
@@ -1098,8 +1108,8 @@ procedure TfrmDashboard.InitializeTreeView;
10981108begin
10991109 MaxWidth :=120 ;
11001110 MinWidth :=120 ;
1101- Options := [coAllowClick, coEnabled, coParentBidiMode,coShowDropMark ,
1102- coVisible, coAllowFocus];
1111+ Options := [coAllowClick, coEnabled, coParentBidiMode,coVisible ,
1112+ coAllowFocus];
11031113 Position := COLUMN_TIMESTAMP_FIRST;
11041114 Width :=120 ;
11051115 Text := STimeStampFirst;
@@ -1108,14 +1118,14 @@ procedure TfrmDashboard.InitializeTreeView;
11081118begin
11091119 MaxWidth :=120 ;
11101120 MinWidth :=120 ;
1111- Options := [coAllowClick, coEnabled, coParentBidiMode, coShowDropMark,
1121+ Options := [coAllowClick, coEnabled, coParentBidiMode,
11121122 coVisible, coAllowFocus];
11131123 Position := COLUMN_TIMESTAMP_LAST;
11141124 Width :=120 ;
11151125 Text := STimeStampLast;
11161126end ;
11171127 Header.MainColumn :=0 ;
1118- TreeOptions.AutoOptions := TreeOptions.AutoOptions + [toAutoSpanColumns];
1128+ TreeOptions.AutoOptions := TreeOptions.AutoOptions + [toAutoSpanColumns];
11191129 TreeOptions.PaintOptions := TreeOptions.PaintOptions + [toShowTreeLines];
11201130end ;
11211131 FTreeView.Header.AutoSizeIndex :=0 ;