Solved

Components

Posted on 2004-03-29
1
210 Views
Last Modified: 2010-07-27
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
Comment
Question by:ziwez0
1 Comment
 
LVL 4

Accepted Solution

by:
Jarodtweiss earned 150 total points
ID: 10702667
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question