Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • Last Modified:

Components

Hi guys,

in the middle of building my own component(a button) but need some info, i need some guidance on the mouse over effect, in other words when my mouse pointer goes over the button i want to be able to change the color of the button and info on the click event.

cheers guys

-
David
0
ziwez0
Asked:
ziwez0
1 Solution
 
JarodtweissCommented:
The simplest way to do that is probably to :
- Inherit from the Button class
- Override the OnClick method to provide your info
- Override the OnMouseEnter, OnMouseLeave and OnMouseOver to set your color

0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now