Ignore:
Timestamp:
May 9, 2015, 7:15:46 AM (10 years ago)
Author:
healthsevak
Message:

updated these files for version 28

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/HealthSevak-CPRS/VA/VA2006Utils.pas

    r829 r1695  
    44
    55uses
    6   Windows, Messages, SysUtils, Classes, Controls, ComCtrls, CommCtrl;
     6  Windows, Messages, SysUtils, Classes, Controls, ComCtrls, CommCtrl,
     7  Forms;
     8
     9type
     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;
    720
    821// Fixes bug in Delphi 2006, where clicking on a header control section after
     
    1629
    1730type
     31
    1832  THeaderControl2006BugFixer = class(TComponent)
    1933  private
     
    6579end;
    6680
     81{ TfraTabStopFalse }
     82
     83function TfraTabStopFalse.GetTabStop: Boolean;
     84begin
     85  Result := False;
     86end;
     87
     88procedure TfraTabStopFalse.SetTabStop(const Value: Boolean);
     89begin
     90 //Do nothing here, just ignore the Value
     91end;
     92
    6793end.
Note: See TracChangeset for help on using the changeset viewer.