benibela / treelistview

A Pascal treelistview component, showing a treeview together with the columns of a listview (for Delphi and Lazarus)
52 stars 18 forks source link

Popup shows twice #6

Open artem78 opened 6 hours ago

artem78 commented 6 hours ago

When you add PopupMenu component to TreeListView and press left mouse button on it popup will be shown twice.

I add breakpoint to OnPopup event. Stacktrace for first call: 20241114_181145

and for second: 20241114_181152

Tested with Lazarus 2.2.4, FPC 3.2.2, Windows 7 64 bit

artem78 commented 6 hours ago

I found solution: PopupMenu.AutoPopup property should be set to False.