BlockList: AllowDragBegin <> OnDblClicked

Started by Fred Tomke, December 11, 2009, 01:33:42 AM

Previous topic - Next topic

Fred Tomke

Hello, I'm not sure if it has its reasons but if I activate AllowDragBegin in a BlockList, then OnDblClicked won't be triggered anymore in the BlockList. If I deactivate AllowDragBegin, then OnDblClick works as expected. I must add, that I have that BlockLIst in a Palette with enabled KeepFocus in case of OnMouseOver and the event invoke of the palette and the blocklist is KeepFocus.

Do exclude both functionalities each other?

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

In theory, a double click should still work in that case, but there are obviously some difficulties with how drag and drop interferes with the process. I'll need to have a look to see if I can figure out what's going on.

Fred Tomke

Hello Owen, thanks for watching. You will find a sample here. There you can turn off AllowDragBegin. But I'm afraid that you need a simplier sample.
Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

Fred, when I'm working on a problem like this, I need the simplest possible sample. When problems are reported, I usually make on by creating a new modeless form with one control on it.