R
Raj Chudasama
I have a controls similiar to the windows calculator. (Please press some
buttons on your calculator to see what i am talking about)
So when u hover over a button it will change the state (it changes to
different image)
if u click it will show pressed image etc
now the problem:
the calculator does the following
when a button is clicked via mouse a pressed image is shown and when the
mouse is up it will show up state however if the mouse is still over the
button after clicking the button it will go to the hover state.
i am currently unable to do this. My control will show hover state, if you
press it will show pressed state and then the up state. however even if you
have your mouse still over the button after clicking the button it will not
show the hover state.
I am sure i have to "consume" an event or something but i don t know how and
which.
please help
buttons on your calculator to see what i am talking about)
So when u hover over a button it will change the state (it changes to
different image)
if u click it will show pressed image etc
now the problem:
the calculator does the following
when a button is clicked via mouse a pressed image is shown and when the
mouse is up it will show up state however if the mouse is still over the
button after clicking the button it will go to the hover state.
i am currently unable to do this. My control will show hover state, if you
press it will show pressed state and then the up state. however even if you
have your mouse still over the button after clicking the button it will not
show the hover state.
I am sure i have to "consume" an event or something but i don t know how and
which.
please help