View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025245 | Lazarus | LCL | public | 2013-10-28 09:07 | 2015-04-03 13:13 |
Reporter | Avishai | Assigned To | Bart Broersma | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.3 (SVN) | ||||
Summary | 0025245: TTabControl.OnDrawTab causes Error: Duplicate identifier "Active" | ||||
Description | Start a new project. Add a TTabControl. Add OnDrawTab event code. Try to compile. Result = Error: Duplicate identifier "Active" | ||||
Tags | No tags attached. | ||||
Fixed in Revision | r43337 | ||||
LazTarget | - | ||||
Widgetset | Win32/Win64 | ||||
Attached Files |
|
|
comctrls.pp.patch (490 bytes)
Index: lcl/comctrls.pp =================================================================== --- lcl/comctrls.pp (revision 43331) +++ lcl/comctrls.pp (working copy) @@ -350,7 +350,7 @@ TNoteBookCapabilities = TCTabControlCapabilities deprecated; TDrawTabEvent = procedure(Control: TCustomTabControl; TabIndex: Integer; - const Rect: TRect; Active: Boolean) of object; + const Rect: TRect; AActive: Boolean) of object; TCustomTabControl = class(TWinControl) private |
|
Added patch which should fix this problem. |
|
Please test and close if OK. |
|
ComCtrls: change signature of TDrawTabEvent to avoid compilation error due to duplicatie identifier. Issue 0025245. Patch by Avishai. --- Not to nitpick or anything, but was it my patch that fixed this bug? :) |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-10-28 09:07 | Avishai | New Issue | |
2013-10-28 12:12 | Cyrax | File Added: comctrls.pp.patch | |
2013-10-28 12:12 | Cyrax | Note Added: 0071010 | |
2013-10-28 21:49 | Bart Broersma | Fixed in Revision | => r43337 |
2013-10-28 21:49 | Bart Broersma | LazTarget | => - |
2013-10-28 21:49 | Bart Broersma | Note Added: 0071014 | |
2013-10-28 21:49 | Bart Broersma | Status | new => resolved |
2013-10-28 21:49 | Bart Broersma | Fixed in Version | => 1.3 (SVN) |
2013-10-28 21:49 | Bart Broersma | Resolution | open => fixed |
2013-10-28 21:49 | Bart Broersma | Assigned To | => Bart Broersma |
2013-10-28 21:56 | Cyrax | Note Added: 0071015 | |
2013-10-29 06:30 | Avishai | Status | resolved => closed |