Drag and Drop layer

Discussion created by rhyck.m on May 8, 2014
Latest reply on Jul 26, 2014 by rhyck.m
Hi all,
Any way to drag a layer from the TOC and drop it into a combobox on a form? As the image below, I created a dockable window where I have two comboboxes: I want to populate the 1st one with the dropped layer name and the second one with the fields of that layer.