Einzelnen Beitrag anzeigen

Benutzerbild von hdalis
hdalis

Registriert seit: 10. Apr 2006
1 Beiträge
 
Delphi 2005 Professional
 
#2

Re: DelphiSci/Scintilla: (DC3)-Controlchars

  Alt 10. Apr 2006, 20:01
Zitat von Basic-Master:
Hi,
wenn ich in Scintilla keinen Shortcut mit Strg+S belegt habe, dann bekomme ich (wenn ich Strg+S drücke) ein DC3-Conrolchar... Wie kann ich diese Zeichen deaktivieren? Danke im Vorraus!
Sorry for responding in english, but I cannot write german.

If you are using TScintilla or TScintillaMemo, then might no longer be a problem, but if a problem occurs anyway,
use Scintilla1.KeyCommands.Update(nil);

If you use TScintillaBase directly, use this:

FShortCut:=TextToShortCut('Ctrl+S');//Strg+S;
TScintillaBase1.AssignCmdKey(ShortCutToSciKey(FSho rtCut), SCI_NULL);

The documentation found in the Scintilla Project is very helpful, even for the DelphiSci wrapper because most base functions is a direct translation of messages to functions.

An example: GetLength = SCI_GETLENGTH.

I hope this solves your problem.

hdalis
  Mit Zitat antworten Zitat