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

Power User

Joined: 22/01/2008 15:14:19
Messages: 47
Offline

Hi Björn,

it would be useful, if the hotkey-keycode would be automatically shown in the popupItem text.
Normally you can open the popupmenu with the special windowskey (near AltGr). Is there any keycode in CaptainCasa to open the popupmenu?
Is there a possibility to combine the popup-menues? I want to have a standard menu (save, ...) and special popupItems which are only used by some controls (drag&drop-alternative).
And I would like to have the possibility to group items with a separator and/or
subgroups.

Greez,
Antje
CaptainCasa

Power User
[Avatar]

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

Hi Antje,

thanks for your input!

Things we will do quite short term:
- automatic embedding of hot-key-text in the menu
- separator

Things we have to check:
- key for displaying the popup menu
- central POPUPMENUs with extensions... this is quite difficult because you may want to define, that the "additional menu items" are not positioned at the end of the menu, but somehow sorted into the default menu items. Maybe using COMPONENTBINDING may be an option for you? Of course then the menu is built on the Java side...

Things which are in currently:
- sub-grouping of menus to form hierarchies: use the MENU component

Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

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

...the two short term items are available in next version...
Björn

Björn Müller, CaptainCasa GmbH
kessler

Power User

Joined: 22/01/2008 15:14:19
Messages: 47
Offline

Hi Björn,

now the shortcut-textes are shown in the popup, but only those which represent a Ascii-Character, for example ctrl-83 = ctrl-s.
But those Ascii-numbers like 127 which represent the DEL-key are only shown as a little rectangle.
Great would be a translation for the key, so Ctrl-s in german is called Strg-s.

Greez
Antje
CaptainCasa

Power User
[Avatar]

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

...there are already some "special keys" which are transferred into correct character representations. We missed the DEL... (and others as well). We will make our internally kept translation table a bit longer...

Same with language...

Both apsects are treated as bug and will be solved short term.

Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

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

This is the extended list of keycodes with "special characteres": anything important missing...?

Code:
         switch (keyCode) 
         {
             case 10:  return "Return";
             case 27:  return "ESC";
             case 32:  return "Space";
             case 33:  return "" + (char)8607; // page up
             case 34:  return "" + (char)8609; // page down
             case 35:  return "End";
             case 36:  return "Begin";
             case 37:  return "" + (char)8592; // cursor left
             case 38:  return "" + (char)8593; // cursor up
             case 39:  return "" + (char)8594; // cursor right
             case 40:  return "" + (char)8595; // cursor down
             case 112: return "F1";
             case 113: return "F2";
             case 114: return "F3";
             case 115: return "F4";
             case 116: return "F5";
             case 117: return "F6";
             case 118: return "F7";
             case 119: return "F8";
             case 120: return "F9";
             case 121: return "F10";
             case 122: return "F11";
             case 123: return "F12";
             case 127: return "DEL";
         }
 


Björn

Björn Müller, CaptainCasa GmbH
kessler

Power User

Joined: 22/01/2008 15:14:19
Messages: 47
Offline

Of course "Rollen" the most unnecessary key of all.

No, no everything`s fine.

Antje
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team