Issues with lates mapcontrol (5.2)

Hello @RaffyM

I’m glad that you noticed this. I found the issue.

Historically, in cmSelection mode, the MouseDown event was fired only if no LayerHandle was specified in the ChooseLayer event handler. This is your case. You have enabled the cmSelection tool, but have not specified a layer handle in the ChooseLayer event.

However, when new functionality was added to allow for multiple ‘Selectable’ layers, we lost the mouse event altogether. To be consistent with historical behavior, you should get the MouseDown event if

  1. You do not specify a layer handle in the ChooseLayer event, and
  2. You do not flag any layers as ‘Selectable’

I will need to make a change to account for item 2.

Regards,
Jerry.