On Fri, Aug 12, 2011 at 8:20 AM, Martin <laza...@mfriebe.de> wrote:
> On 12/08/2011 08:38, Graeme Geldenhuys wrote:
>>
>> Hi,
>>
>> I have a suggestion to the Alt key for column section. Currently it
>> doesn't work at all on Linux and probably *BSD too. The problem is two
>> fold.
>>
>> 1) This is because the Alt+Click+Drag is already used by X11 to move
>>    windows around (without doing in from the title bar).
>>
>> 2) Even though the description of that feature says Alt key, Lazarus
>>    actually means "Left Alt" key only.
>>
>> What if Lazarus changes that option to use the Right Alt key instead.
>> Currently this is not used by X11, and seeing that Lazarus seem to
>> differentiate between Left Alt and Right Alt anyway, this could be a
>> solution that could work on all platforms?
>>
> I haven't checked it under Linux. But on windows, the right alt key, simply
> translate into ctrl-alt. You can test it using shift-alt and cursor keys for
> selection
>
> That means on windows, using the mouse I can use either alt key (because
> ctrl+alt does not activate the mouse links)
>
> --

Adding support for ssAltGr is as simple as adding in lcl\forms.pp, line 1764:

+  if GetKeyState(VK_RMENU) < 0 then Include(Result, ssAltGr);

Should we also support an independent left Alt state and leave ssAlt
to mean any Alt? What about the other keys?

Best regards,
Flávio

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to