[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Flush on enter  XML
Forum Index -> Development
Author Message
tdrasch

Power User
[Avatar]

Joined: 13/03/2009 19:09:45
Messages: 81
Location: Villingen-Schwenningen
Offline

Hi everybody,

is it possible to execute a flush by pressing the enter key in a field component?
Has anyone implemented such a functionality like this?

Something similar to "tabonenter" in refer to "tabonenteralwaysflush" but without tab

Thanks,
bye

Thomas

--------------------------------
Good karma - for the moment...
why is the word abbreviation so long?
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

Hi,

please define a POPUPMENU, add MENUITEM, assign HOTKEY to MENUITEM and reference the POPUPMENU-ID to your FIELD-POPUPMENU.

In the FIELD-ACTIONLISTENER reacton event BaseActionEventPopupMenuItem.

So, just normal POPUPMENU processing, with associated HOTKEY definition.

(If you define MENUITEM-HOTKEYONLY to be "true" then you will not even see the popup.)

Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team