Changeset 1695 for cprs/branches/HealthSevak-CPRS/VA/VA2006Utils.pas
- Timestamp:
- May 9, 2015, 7:15:46 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/HealthSevak-CPRS/VA/VA2006Utils.pas
r829 r1695 4 4 5 5 uses 6 Windows, Messages, SysUtils, Classes, Controls, ComCtrls, CommCtrl; 6 Windows, Messages, SysUtils, Classes, Controls, ComCtrls, CommCtrl, 7 Forms; 8 9 type 10 11 //This class exists to workaround TFrame tabstop set to True 12 //Known defect with Delphi 2006: http://qc.embarcadero.com/wc/qcmain.aspx?d=12257 13 TfraTabStopFalse = class(TFrame) 14 private 15 function GetTabStop: Boolean; 16 procedure SetTabStop(const Value: Boolean); 17 published 18 property TabStop: Boolean read GetTabStop write SetTabStop stored False; 19 end; 7 20 8 21 // Fixes bug in Delphi 2006, where clicking on a header control section after … … 16 29 17 30 type 31 18 32 THeaderControl2006BugFixer = class(TComponent) 19 33 private … … 65 79 end; 66 80 81 { TfraTabStopFalse } 82 83 function TfraTabStopFalse.GetTabStop: Boolean; 84 begin 85 Result := False; 86 end; 87 88 procedure TfraTabStopFalse.SetTabStop(const Value: Boolean); 89 begin 90 //Do nothing here, just ignore the Value 91 end; 92 67 93 end.
Note:
See TracChangeset
for help on using the changeset viewer.