[Lazarus] Forms.pp function error?

Michael Van Canneyt michael at freepascal.org
Tue Oct 16 09:32:52 CEST 2018



On Tue, 16 Oct 2018, AlexeyT via Lazarus wrote:

>
> On 16.10.2018 09:56, Michael Van Canneyt via Lazarus wrote:
>> There does not need to be if there is no corresponding MK_nnn value ?
>> What would be the MK_nnn value for ssAlt ? 
>
> We can  add in, LCLType.pp:
>
> const
>   // Mouse message key states
>   MK_LBUTTON  = 1;
>   MK_RBUTTON = 2;
>   MK_SHIFT = 4;
>   MK_CONTROL = 8;
>   MK_MBUTTON = $10;
>   MK_XBUTTON1 = $20;
>   MK_XBUTTON2 = $40;
>   // following are "virtual" key states
>   MK_DOUBLECLICK = $80;
>   MK_TRIPLECLICK = $100;
>   MK_QUADCLICK = $200;

I understand that, but what additional value makes sense ?

Michael.


More information about the Lazarus mailing list