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 event invokes a modal form > (containing nothing of significant complexity) with OK and Cancel > buttons, and stripped down looks like this:
Hello,
Just for testing the OnSelection is raised by mouse click ? If the answer is yes, try to click the cell and keep the mouse button pressed. If the form appears the grid is still waiting for a MOUSE_UP (thinking you are holding MOUSE_DOWN to perform a selection) and the modal form has its own queue, so MOUSE_UP never arrives.

Yes, the modal form appears while the mouse button is held down (for both GTK2 and Qt).


So, yes, seem that grid expects mouseup
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to