Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi DelphiSci/Scintilla: (DC3)-Controlchars (https://www.delphipraxis.net/45231-delphisci-scintilla-dc3-controlchars.html)

Basic-Master 2. Mai 2005 14:32


DelphiSci/Scintilla: (DC3)-Controlchars
 
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!

hdalis 10. Apr 2006 20:01

Re: DelphiSci/Scintilla: (DC3)-Controlchars
 
Zitat:

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:41 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz