Page 1 of 1

SelectorTool blocks MarksTipTool

Posted: Thu Sep 24, 2009 2:28 am
by 10549554
Hello

Just upgrade to v8.06.

In a new project, found that whenever a SelectorTool is active, then MarksTipTool will not work.

In below example, only after setting the SelectorTool's Active into false, will MarksTipTool show tips on mouse move.

Please kindly reivew it.


object Form3: TForm3
Left = 0
Top = 0
Caption = 'Form3'
ClientHeight = 348
ClientWidth = 643
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object Chart1: TChart
Left = 0
Top = 0
Width = 643
Height = 348
Title.Text.Strings = (
'TChart')
Align = alClient
TabOrder = 0
ExplicitLeft = 126
ExplicitTop = 62
ExplicitWidth = 400
ExplicitHeight = 250
ColorPaletteIndex = 13
object Series1: TBarSeries
Marks.Arrow.Visible = True
Marks.Callout.Brush.Color = clBlack
Marks.Callout.Arrow.Visible = True
Marks.Visible = True
Gradient.Direction = gdTopBottom
Shadow.Color = 8487297
XValues.Name = 'X'
XValues.Order = loAscending
YValues.Name = 'Bar'
YValues.Order = loNone
Data = {
00190000000000000000A4854000000000008086400000000000348740000000
0000BC86400000000000A8864000000000007C8A400000000000508E40000000
0000F88B400000000000508E4000000000007290400000000000029240000000
0000A6934000000000008294400000000000E0954000000000003A9640000000
0000D29440000000000046944000000000003C94400000000000AC9240000000
0000329440000000000086954000000000006E94400000000000129640000000
00005094400000000000129640}
end
object ChartTool1: TSelectorTool
end
object ChartTool2: TMarksTipTool
end
end

Re: SelectorTool blocks MarksTipTool

Posted: Thu Sep 24, 2009 10:10 am
by yeray
Hi Liang Rong,

I think that if you create the MarksTip tool in the first place and the Selector tool in the second place, this problem doesn't happen.