Changeset 1726 for cprs/branches/HealthSevak-CPRS/CPRS-Chart/fHunSpell.pas
- Timestamp:
- Jun 25, 2015, 1:43:09 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/HealthSevak-CPRS/CPRS-Chart/fHunSpell.pas
r1723 r1726 37 37 StdCtrls, ComCtrls, RichEdit, Buttons, ExtCtrls, ShellAPI, 38 38 skaSpellCheck, 39 VA508AccessibilityManager, fBase508Form ;39 VA508AccessibilityManager, fBase508Form, jpeg; 40 40 41 41 type 42 42 TfrmHunSpell = class(TfrmBase508Form) 43 lblDictionary: TLabel;44 43 btnClose: TButton; 45 44 OpenDialog1: TOpenDialog; … … 47 46 edtDictionary: TEdit; 48 47 btnSelectDict: TBitBtn; 49 lblOpenMedURL: TLabel;50 lblDictionariesURL: TLabel;51 48 RichEdit1: TRichEdit; 52 49 pnlMisSpelled: TPanel; … … 69 66 cbIgnoreDigit: TCheckBox; 70 67 btnRestat: TButton; 68 cbHyphenatedWord: TCheckBox; 69 StaticText1: TStaticText; 70 StaticText2: TStaticText; 71 StaticText3: TStaticText; 72 Label2: TLabel; 73 StaticText4: TStaticText; 74 Label3: TLabel; 75 StaticText5: TStaticText; 76 StaticText6: TStaticText; 77 Image1: TImage; 78 lblDictionariesURL: TLabel; 79 lblDictionary: TLabel; 80 lblOpenMedURL: TLabel; 81 Label5: TLabel; 82 Label6: TLabel; 71 83 procedure FormCreate(Sender: TObject); 72 84 procedure btnIgnoreOnceClick(Sender: TObject); … … 100 112 procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean); 101 113 procedure btnRestatClick(Sender: TObject); 114 procedure cbHyphenatedWordClick(Sender: TObject); 115 procedure Image1Click(Sender: TObject); 116 procedure Label6Click(Sender: TObject); 102 117 private 103 118 { Private declarations } … … 169 184 if length(trim(aURL)) > 4 then 170 185 ShellExecute(Handle, 'open', PChar(aURL), '', '', SW_NORMAL); 186 end; 187 188 procedure TfrmHunSpell.Image1Click(Sender: TObject); 189 begin 190 inherited; 191 GoToURL('http://www.healthsevak.com'); 192 end; 193 194 procedure TfrmHunSpell.Label6Click(Sender: TObject); 195 begin 196 inherited; 197 GoToURL('mailto: digitiger@gmail.com'); 171 198 end; 172 199 … … 337 364 end; 338 365 366 procedure TfrmHunSpell.cbHyphenatedWordClick(Sender: TObject); 367 begin 368 inherited; 369 if SpellCheck1.HyphenatedWords <> cbHyphenatedWord.Checked then 370 SpellCheck1.HyphenatedWords := cbHyphenatedWord.Checked; 371 372 if SpellCheck1.SpellCheckState = ssChecking then 373 SpellCheck1.ReStart; 374 end; 375 339 376 procedure TfrmHunSpell.cbIgnoreAllCapsClick(Sender: TObject); 340 377 begin … … 342 379 if SpellCheck1.IgnoreAllCaps <> cbIgnoreAllCaps.Checked then 343 380 SpellCheck1.IgnoreAllCaps := cbIgnoreAllCaps.Checked; 381 382 if SpellCheck1.SpellCheckState = ssChecking then 383 SpellCheck1.ReStart; 344 384 end; 345 385 … … 349 389 if SpellCheck1.IgnoreWordWithDigits <> cbIgnoreDigit.Checked then 350 390 SpellCheck1.IgnoreWordWithDigits := cbIgnoreDigit.Checked; 391 392 if SpellCheck1.SpellCheckState = ssChecking then 393 SpellCheck1.ReStart; 351 394 end; 352 395 … … 368 411 if cbIgnoreDigit.Checked <> SpellCheck1.IgnoreWordWithDigits then 369 412 cbIgnoreDigit.Checked := SpellCheck1.IgnoreWordWithDigits; 413 414 if cbHyphenatedWord.Checked <> SpellCheck1.HyphenatedWords then 415 cbHyphenatedWord.Checked := SpellCheck1.HyphenatedWords; 370 416 end; 371 417
Note:
See TracChangeset
for help on using the changeset viewer.