How to control mouse movement and be able to move the ILNumerics ILColorbar at the same time -
the ilcolorbar has property called movable. if set false can't move colorbar on surface. if set true , have written custom events mouse movement (mousedown, mouseup, mouseleave, mousemove) these don't fire. fire if moveable set false.
i want able move colorbar if mouse hovering on left 50% of width of colorbar , have mouse interact colorbar if hovering on right 50% of colorbar.
do leave moveable false , manually move colorbar based on mousedown , mousemove events , state? or toggle moveable property? or there better way or possible?
Comments
Post a Comment