Thank you Erika, but you give me too much credit. My skills with ClientLocalValue and XResultSet are woefully lacking.
Thing is, I have only one user who uses F11 and its variations, and then only with a single form. The button for the F11 function is easy. The Shift-F11 button also includes CLEAR()ing of several values that I don't want transplanted. Other than that, all is fair game.
If I place the buttons on that single form, use IgnoreKey to kill F11, and then use @HideTreeItem for all the F11 variations, I'm in the clear. So far the buttons work, IgnoreKey also works, but the following is NOT working:
Var vHideTreeItem as Int
// Hides "Copy Forms" and "Paste Forms" command tree items
vHideTreeItem = @HideTreeItem("Add Data Menu!Edit Commands!Copy Forms to Buffer (Alt-F11)")
vHideTreeItem = @HideTreeItem("Add Data Menu!Edit Commands!Paste Buffer to Forms (Alt-Shift-F11)")
vHideTreeItem = @HideTreeItem("Search Update Menu!Edit Commands!Copy Forms to Buffer (Alt-F11)")
vHideTreeItem = @HideTreeItem("Search Update Menu!Edit Commands!Paste Buffer to Forms (Alt-Shift-F11)")
I'm putting this in the application programming, on-application-open, with no success. I'm pretty sure I'm missing something, though the Program Editor tests it OK. Do I need to specify a path to every form and mode? The example in the book is a little confusing as it doesn't directly relate to what I want to do.
Thanks for your help.