whats new ¦  programming tips ¦  indy articles ¦  intraweb articles ¦  informations ¦  links ¦  interviews
 misc ¦  tutorials ¦  Add&Win Game

Tips (1541)

Database (90)
Files (137)
Forms (107)
Graphic (114)
IDE (21)
Indy (5)
Internet / LAN (130)
IntraWeb (0)
Math (76)
Misc (126)
Multimedia (45)
Objects/
ActiveX (51)

OpenTools API (3)
Printing (35)
Strings (83)
System (266)
VCL (242)

Top15

Tips sort by
component


Search Tip

Add new Tip

Add&Win Game

Advertising

50 Visitors Online


 
...use the Vspell ActiveX Component?
Autor: Unknown
[ Print tip ]  

Tip Rating (4):  
     


{
  If you are using Delphi 2+ and have the ActiveX component TVSSpell, it is very
  simple to add a spell checker to your TMemo applications.
  (Note: Do not use this component with a Rich Edit application because of text
  formatting problems.)

  Wenn Delphi 2+ verwendet wird, und die ActiveX Komponente TVSSpell installiert ist,
  ist es sehr einfach eine  Rechtschreibekorrektur für die TMemo Komponente zu
  erstellen.
  (Anmerkung: Die Komponente sollte nicht für RichEdit verwendet werden, da es dort
  Probleme mit der Textformatierung gibt.
}


procedure TForm1.Button1Click(Sender: TObject);
begin
  if 
Memo1.Text = '' then Exit;

  VSSpell1.CheckText := Memo1.Text;
  if VSSpell1.ResultCode = 0 then
    
Memo1.Text := VSSpell1.Text;
end;


{
  To distribute a VisualSpeller application you have to include the following
  files:

  Um eine Anwendung mit VisualSpeller zu vertreiben, müssen folgende Dateien
  mitgeliefert werden:
}

{
- VsSpell.HLP
- VSPELL32.OCX
- VSPELL32.DLL
- AMERICAN.VTD
- VSPELL.HLP
}


 

Rate this tip:

poor
very good


Copyright © by SwissDelphiCenter.ch
All trademarks are the sole property of their respective owners