these events are used for providing the visual effects.and make some interactive buttons.
1)Mousedown events.:- take a button.open the properties.select the events.like this.
then open the mouse events.
double click on the mousedown event you will get the code window.
and write the code..
when you click on the button the color of button changes to pink.
2)Mouseup event:-double click on the mouseup event you will get the code window
in this window write the code.
when you click on button then it color changes to pink due to mouse down event and when you leave the mouse click it changes to red color due to mouse up event.
3)Mousemove event:-double click on the mousemove event you will get the code window
in this window write the code.
in this event when you put the cursor on the button it color changes to red
4)MouseLeave event:-double click on the mouseleave event you will get the code window
in this window write the code.
when you remove the cursor from the button the color of button changes to pink.
5)Mousehover:-double click on the mousehover event you will get the code window
in this window write the code.
it changes the color of button when permanently if you put the cursor on the button
1)Mousedown events.:- take a button.open the properties.select the events.like this.
then open the mouse events.
double click on the mousedown event you will get the code window.
and write the code..
2)Mouseup event:-double click on the mouseup event you will get the code window
in this window write the code.
when you click on button then it color changes to pink due to mouse down event and when you leave the mouse click it changes to red color due to mouse up event.
3)Mousemove event:-double click on the mousemove event you will get the code window
in this window write the code.
in this event when you put the cursor on the button it color changes to red
4)MouseLeave event:-double click on the mouseleave event you will get the code window
in this window write the code.
when you remove the cursor from the button the color of button changes to pink.
5)Mousehover:-double click on the mousehover event you will get the code window
in this window write the code.
it changes the color of button when permanently if you put the cursor on the button
No comments :
Post a Comment