![]() | 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: | If you set TPieTool Pen.Width=1 at design time, it isn't saved to the dfm | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Tools | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | david |
| Priority: | --- | ||
| Version: | 131119 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=3&t=14606&p=64424#p64424 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | test project | ||
Fixed. The base class TTeePen (TeCanvas.pas) now has a DefaultWidth field (by default = 1). TPieTool and TNearestTool initialize Pen.Width and DefaultWidth to a different value than 1, and thus the TTeePen.IsWidthStored function now allows persisting it when its 1. (1 was the previous "default" Width value in VCL TPen class). |
Created attachment 70 [details] test project If you change the TPieTool's Pen.Width at designtime, it isn't saved to the dfm and when the application starts the Pen is created with its default Width: 4. It works fine with other Pen.Width values; it only doesn't save it for the value 1.