AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

DelphiSci/Scintilla: (DC3)-Controlchars

Ein Thema von Basic-Master · begonnen am 2. Mai 2005 · letzter Beitrag vom 10. Apr 2006
Antwort Antwort
Basic-Master

Registriert seit: 9. Mär 2003
Ort: Brilon
395 Beiträge
 
Delphi 2007 Enterprise
 
#1

DelphiSci/Scintilla: (DC3)-Controlchars

  Alt 2. Mai 2005, 14:32
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!
Christian
  Mit Zitat antworten Zitat
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
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 22:16 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