![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | TeeEditor tabs don't refresh display - NOT a Steema bug | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | John Santmann <JSantmann> |
| Component: | Editors | Assignee: | yeray alonso <yeray> |
| Status: | RESOLVED NOTABUG | ||
| Severity: | major | CC: | yeray |
| Priority: | High | ||
| Version: | 32.210430 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | RAD 10.3 Rio |
| Attachments: |
Zip file has screenshot of error and source code for simple application that reproduces error
Trying to reproduce the problem with RAD 10.3 Update 3 and TeeChart v2021.33 |
||
|
Description
John Santmann
2021-10-15 18:54:28 EDT
Created attachment 986 [details]
Trying to reproduce the problem with RAD 10.3 Update 3 and TeeChart v2021.33
I've tried to reproduce this with your project and TeeChart Pro VCL v2021.33, both with RAD 11 and RAD 10.3 Update 3, without observing any problem.
THIS IS NOT A Steema BUG.
Thanks for your quick response. It was very helpful in enabling me to pinpoint the problem.
In case you're interested, it was the result of a change I made to the Delphi compiler source code years ago to prevent screen flickering. The change was:
procedure TWinControl.CMShowingChanged(var Message: TMessage);
const
ShowFlags: array[Boolean] of Word = (
SWP_NOSIZE + SWP_NOMOVE + SWP_NOZORDER + SWP_NOACTIVATE + SWP_HIDEWINDOW,
SWP_NOSIZE + SWP_NOMOVE + SWP_NOZORDER + SWP_NOACTIVATE + SWP_SHOWWINDOW +
SWP_NOREDRAW); // This line helps prevent flickering in general (mostly pre-Windows 10), but causes refresh problem with TChart editor display.
begin
SetWindowPos(WindowHandle, 0, 0, 0, 0, 0, ShowFlags[FShowing]);
end;
Thanks for the feedback! |