OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Fred Tomke on December 11, 2009, 01:33:42 AM

Title: BlockList: AllowDragBegin <> OnDblClicked
Post by: Fred Tomke on December 11, 2009, 01:33:42 AM
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
Title: Re: BlockList: AllowDragBegin <> OnDblClicked
Post by: owenwengerd on December 11, 2009, 10:22:28 AM
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.
Title: Re: BlockList: AllowDragBegin <> OnDblClicked
Post by: Fred Tomke on December 11, 2009, 11:06:08 AM
Hello Owen, thanks for watching. You will find a sample here (http://www.opendcl.com/forum/index.php?topic=1073.msg5638#new). There you can turn off AllowDragBegin. But I'm afraid that you need a simplier sample.
Fred
Title: Re: BlockList: AllowDragBegin <> OnDblClicked
Post by: owenwengerd on December 11, 2009, 01:29:31 PM
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.