![]() |
ShortCut Global
Guten Tag
Ich möchte einen ShortCut global kreieren, so dass man damit einen Formular (TForm) aus allen Formularen der ganzen Application öffnen kann. Das sollte so functiionieren so in der Art wie F1 für Hilfe benutzt wird. Ich hoffe, jemand kann mir damit helfen. Gruss Ordnadito |
AW: ShortCut Global
Global Hotkey:
![]() Die Funktionalität, dass ein Formular deiner Anwendung geöffnet wird, musst du in WMHotKey aber selber implementieren. RegisterHotKey kommt beispielsweise in FormCreate und UnregisterHotKey in FormDestroy. |
AW: ShortCut Global
Global in der eigenen Anwendung:
TApplicationEvents z.B. auf die Hauptform und da im OnShortCut drauf reagieren. Strg+F10 :
Delphi-Quellcode:
if (Msg.CharCode = VK_F10) and (ssCtrl in KeyDataToShiftState(Msg.KeyData)) then
bzw.
Delphi-Quellcode:
Ganz Global im ganzen Windows:
if (Msg.CharCode = VK_F10) and ([ssCtrl] = KeyDataToShiftState(Msg.KeyData)) then
![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:32 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz