Re: [Lazarus] TStringGrid and cancelling a modal form

2018-03-13 Thread Mark Morgan Lloyd via Lazarus
On 13/03/18 09:00, José Mejuto via Lazarus wrote: El 13/03/2018 a las 9:21, Mark Morgan Lloyd via Lazarus escribió:>>> Yes, the modal form appears while the mouse button is held down (for >>> both GTK2 and Qt).>>> So, yes, seem that grid expects mouseup> I think the proper solution is to

Re: [Lazarus] TStringGrid and cancelling a modal form

2018-03-13 Thread Mark Morgan Lloyd via Lazarus
On 13/03/18 09:00, José Mejuto via Lazarus wrote: El 13/03/2018 a las 9:21, Mark Morgan Lloyd via Lazarus escribió:>>> Yes, the modal form appears while the mouse button is held down (for >>> both GTK2 and Qt).>>> So, yes, seem that grid expects mouseup> > Is there a portable way this can

Re: [Lazarus] TStringGrid and cancelling a modal form

2018-03-13 Thread José Mejuto via Lazarus
El 13/03/2018 a las 9:21, Mark Morgan Lloyd via Lazarus escribió: Yes, the modal form appears while the mouse button is held down (for both GTK2 and Qt). So, yes, seem that grid expects mouseup Is there a portable way this can be sent? Otherwise I presume I could fudge it with something

Re: [Lazarus] TStringGrid and cancelling a modal form

2018-03-13 Thread Mark Morgan Lloyd via Lazarus
On 13/03/18 08:00, zeljko wrote: On 03/12/2018 08:05 PM, Mark Morgan Lloyd via Lazarus wrote: On 12/03/18 17:45, José Mejuto via Lazarus wrote: El 12/03/2018 a las 18:25, Mark Morgan Lloyd via Lazarus escribió:> On the main form I've got (a tabbed notebook containing multiple > instances

Re: [Lazarus] TStringGrid and cancelling a modal form

2018-03-13 Thread zeljko via Lazarus
On 03/12/2018 08:05 PM, Mark Morgan Lloyd via Lazarus wrote: On 12/03/18 17:45, José Mejuto via Lazarus wrote: El 12/03/2018 a las 18:25, Mark Morgan Lloyd via Lazarus escribió:> On the main form I've got (a tabbed notebook containing multiple > instances of) a TStringGrid. The OnSelection

Re: [Lazarus] TStringGrid and cancelling a modal form

2018-03-12 Thread Mark Morgan Lloyd via Lazarus
On 12/03/18 18:15, zeljko wrote: On 03/12/2018 06:25 PM, Mark Morgan Lloyd via Lazarus wrote: Running on (Debian) Linux on AMD64 or ARM, Lazarus 1.6.4 and FPC 3.0.2, I'm seeing different behaviour depending on whether a program uses Qt or GTK2. The program changes the hardware configuration of

Re: [Lazarus] TStringGrid and cancelling a modal form

2018-03-12 Thread Mark Morgan Lloyd via Lazarus
On 12/03/18 17:45, José Mejuto via Lazarus wrote: El 12/03/2018 a las 18:25, Mark Morgan Lloyd via Lazarus escribió:> On the main form I've got (a tabbed notebook containing multiple > instances of) a TStringGrid. The OnSelection event invokes a modal form > (containing nothing of

Re: [Lazarus] TStringGrid and cancelling a modal form

2018-03-12 Thread José Mejuto via Lazarus
El 12/03/2018 a las 18:25, Mark Morgan Lloyd via Lazarus escribió: Running on (Debian) Linux on AMD64 or ARM, Lazarus 1.6.4 and FPC 3.0.2, I'm seeing different behaviour depending on whether a program uses Qt or GTK2. The program changes the hardware configuration of a mouse (Logitech G600)

Re: [Lazarus] TStringGrid and cancelling a modal form

2018-03-12 Thread zeljko via Lazarus
On 03/12/2018 06:25 PM, Mark Morgan Lloyd via Lazarus wrote: Running on (Debian) Linux on AMD64 or ARM, Lazarus 1.6.4 and FPC 3.0.2, I'm seeing different behaviour depending on whether a program uses Qt or GTK2. The program changes the hardware configuration of a mouse (Logitech G600) using