[DUG] Mainform ActionList keyboard shortcuts from other forms

Ross Levis ross at stationplaylist.com
Mon Feb 4 20:00:17 NZDT 2013


What would be the easiest method to get some shortcuts that are defined in
an Actionlist on the mainform to work when another form has the focus?

 

I have code to set the ShortCut number in the Actionlist based on user
settings.

 

I believe I can use TApplication.OnShortCut and manually check for keys
pressed.  Is that the best method?  It will mean duplicating code as I still
need the ActionList for some associated buttons and menu items.

 

Ross.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20130204/cb07820c/attachment.html 


More information about the Delphi mailing list