Home › Forums › General › Programming › How to get the mouse event object in any method? › Reply To: How to get the mouse event object in any method?
May 20, 2017 at 6:09 pm
#72188
goodweather,
do you have any information on how to use any of the following?
component:isMouseButtonDown()
component:isMouseOverOrDragging()
component:addMouseListener()
component:SetInterceptsMouseClicks()
I’m using mousedrag on a label and want to know when the mouse is up.
Really have been pulling my hair on that for a while…
I think there might also be a way to set a method programmatcally, right?
what is component:mouseUp() do you know? Would it be possible to assign programmatically a mouseUp method to a component with
void mouseUp(Component&,MouseEvent const&)
Thnx