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

Did minor changes related to manual modification by user inside the richedit control

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/HealthSevak-CPRS/CPRS-Chart/fHunSpell.pas

    r1693 r1700  
    8484    procedure Button1Click(Sender: TObject);
    8585    procedure btnUndoClick(Sender: TObject);
     86    procedure RichEdit1KeyUp(Sender: TObject; var Key: Word;
     87      Shift: TShiftState);
     88    procedure RichEdit1KeyDown(Sender: TObject; var Key: Word;
     89      Shift: TShiftState);
    8690  private
    8791    { Private declarations }
     
    147151  inherited;
    148152  GoToURL(TLabel(sender).Caption);
     153end;
     154
     155procedure TfrmHunSpell.RichEdit1KeyDown(Sender: TObject; var Key: Word;
     156  Shift: TShiftState);
     157begin
     158  inherited;
     159  SpellCheck1.ManualChangeStart;
     160end;
     161
     162procedure TfrmHunSpell.RichEdit1KeyUp(Sender: TObject; var Key: Word;
     163  Shift: TShiftState);
     164begin
     165  inherited;
     166  SpellCheck1.ManualChangeDone;
    149167end;
    150168
Note: See TracChangeset for help on using the changeset viewer.