from what I'm aware, and you can look at the source to confirm, but any
action in an action list on the main form are handled by all forms. the
action call back code checks the active form, before asking the mainform to
test it.

I have just added basic edit cut,copy paste actions to my main form and
have a single popup menu on the main form, which i dynamically bind to all
edit controls in the app. its working perfectly

On Mon, Feb 4, 2013 at 8:00 PM, Ross Levis <[email protected]> wrote:

> 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.****
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: [email protected]
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to [email protected] with
> Subject: unsubscribe
>



-- 
Kyley Harris
Harris Software
+64-21-671-821
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with 
Subject: unsubscribe

Reply via email to