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 ActionList und Shortcuts "außerhalb" der Liste(z.B. Shift+I) (https://www.delphipraxis.net/55392-actionlist-und-shortcuts-ausserhalb-der-liste-z-b-shift-i.html)

NSI 20. Okt 2005 10:57


ActionList und Shortcuts "außerhalb" der Liste(z.B
 
Ich verwende in meinem Programm eine ActionList, um schön übersichtlich meine Shortcuts zu organisieren. Jetzt hätte ich gern ein paar Shortcuts, die in der Liste nicht auftauchen, z.B. Shift+I, oder Shift+Alt+Strg+P. Da sagt mit D2005 dann: „Ungültige Eigenschaft”.

Gibt´s eine Idee, wie ich das trotzdem hinbekomme (ggf. auch ohne ActionList, soll aber keine Doktor-Arbeit werden,...).

s14 20. Okt 2005 11:09

Re: ActionList und Shortcuts "außerhalb" der Liste
 
Umsch+Strg+Alt+P funktioniert mit Delphi 7.
Ich vermute mal, dass "shift" nicht akzeptiert wird.

jim_raynor 20. Okt 2005 11:14

Re: ActionList und Shortcuts "außerhalb" der Liste
 
Da musst du den Shortcut zur Laufzeit (z.B. bei FormCreate) anlegen.

Action.ShortCut:=xxx

Zum erstellen des Shortcuts gibts eine Funktion (glaube CreateShortCut) oder so. Schau mal in der Hilfe unter TShortCut.


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:05 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