.NET

Reply
*Expert Elite*
Jeff_M
Posts: 4,193
Registered: ‎07-22-2003
Message 1 of 5 (212 Views)
Accepted Solution

PaletteSet, use Keyboard when Editor has focus

212 Views, 4 Replies
08-21-2013 09:03 PM

OK, not sure if the Subject says it well, but what I have is a PaletteSet that is displayed during a command in order to show some data as well as containing options for the command. Once it is displayed I set the focus back to the Editor so the user can select objects. When the cursor moves over the Palette focus is automatically switched so the mouse can select the options thereon, then switches back to the Editor as the cursor moves off the Palette. This all works fine & dandy.

 

What I am trying to do is allow the user to use the keyboard to 'press' buttons on the Palette form via a Hotkey approach. The entire time that the Editor has focus, the Editor.GetEntity() method is in use to allow the user to select an object.

Can anyone point me in the right direction for such a task?

 

Thanks!

Jeff_M, also a frequent Swamper