Hi,

In some TMaskEdit component I hardcoded the use of the Ctrl-key in KeyDown.
I understand that on a Mac in this situation the Meat key should be used.

Now I want to do something like this:

const
  {$ifdef allpossiblemacplatforms}
  ssModifier = ssMeta;
  {$else}
  ssModifier = ssCtrl;
  {$endif}

What define should I use for the {$ifdef allpossiblemacplatforms} part?

The alternative would be to write widgetset implementations for the
controls KeyDown procedure, which seems a little bit overkill to me.

Bart

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to