Solved my own problem ... I discovered I was not limited to the build-in choices when using ActionManager's shortcuts. So I created an Action, made its shortcut Ctrl-Shift-S, and the OnExecute method includes confirming that the active control is the Memo to which I want to assign the shortcut. Perhaps I should pen a short note of appreciation to myself :-)
> From: [EMAIL PROTECTED]> To: [email protected]> Subject: Capturing Key > Strokes & TShortCutList> Date: Tue, 12 Aug 2008 08:29:58 -0700> > I'm trying > to assign an action to a keystroke combo (Ctrl-Shift-S) when a particular > Memo has the focus. I am using the control's KeyUp event with the code:> > if > (Key = Ord('S')) and (Shift = [ssCTRL, ssShift]) then...> > It works only > sporadically. > > I'm wondering if anyone has a better solution. One of the > alternates that I've considered is simply creating an ActionManager item, to > which one can assign a shortcut. Ctrl-Shift-S is not one of the built in > choices. I'd have to use a secondary shortcut, of type TShortCutList (which > is, apparently, a string list descendant). I don't know how I would add > TShortCutList representation of Ctrl-Shift-S. > > As always, thanks for your > thoughts -- Al C.> > _________________________________________________________________> Your PC, > mobile phone, and online services work together like never before.> > http://clk.atdmt.com/MRT/go/108587394/direct/01/> > _______________________________________________> Delphi mailing list -> > [email protected]> http://lists.elists.org/cgi-bin/mailman/listinfo/delphi _________________________________________________________________ Reveal your inner athlete and share it with friends on Windows Live. http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WLYIA_whichathlete_us _______________________________________________ Delphi mailing list -> [email protected] http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

