I am seeing a very odd behaviour. (See attached RAD Studio XE2 - update 4 - project.) When I use the TMarksTipTool for showing a tooltip on a TChart series, the first time you use it to show a tooltip on the series, the application's TRibbon rebuilds itself. It isn't only the first time the application runs, but with my simple attached sample project, it is only reproducible the first time. In my real application, it happens frequently throughout the lifecycle of the project, and since the ribbon is much more complicated, it takes longer and is more obvious when rebuilding.
I'd be very grateful to anyone who could explain to me why this is happening and how to workaround or resolve it.
To reproduce the problem, run the attached project and carefully watch the ribbon while you single-mouse-click on the only bar in the chart's bar series.
Thanks,
Mat
TRibbon rebuilds itself when using TMarksTipTool
TRibbon rebuilds itself when using TMarksTipTool
- Attachments
-
- TooltipRibbonRebuildProject.zip
- Project for reproducing the issue
- (84.81 KiB) Downloaded 258 times
Re: TRibbon rebuilds itself when using TMarksTipTool
Hi Mat,
I think it's not a TeeChart-related problem because if you add a TButton with the following code, the Ribbon does the same without any TeeChart operation:
I think it's not a TeeChart-related problem because if you add a TButton with the following code, the Ribbon does the same without any TeeChart operation:
Code: Select all
procedure TParentForm.Button1Click(Sender: TObject);
begin
Screen.HintFont:=Font;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TRibbon rebuilds itself when using TMarksTipTool
Thanks for looking in to this and providing me with an easy way to reproduce it. I'll pass this along to Embarcadero.
Mat
Mat
Re: TRibbon rebuilds itself when using TMarksTipTool
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |