[Lazarus] Platform dependent modifier for common shortcut-keys?
Bart
bartjunk64 at gmail.com
Fri Oct 7 19:09:34 CEST 2011
On 10/6/11, Hans-Peter Diettrich <DrDiettrich1 at aol.com> wrote:
> That's up to the low-level keyboard functions, which translate physical
> keys into ssCtrl etc. But then ssMeta also could map to the Apple and
> Windows key, depending on the platform.
Personally I would only want this feature for common cross-platform
GUI commands that are similar on Man and non-Mac
- Copy, Cut, Paste
- GotoEof, GotoBof (for instance SynEdit maps this to Ctlr+Home, Ctrl+End)
> Regardless of where such mapping is done, how can a user find out which
> shortcuts are *not* already assigned, free for use with his *own* actions?
>
That wouldn't really matter would it.
When properly implemented the OnKeyDown event gives aneough
possibilities to verride the default behaviour of the component.
Bart
More information about the Lazarus
mailing list