Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

dynamically created panel needs roolover highlight action..

Posted on 2012-03-15
2
Medium Priority
?
173 Views
Last Modified: 2012-04-06
Hi I have created a series of panels programatically.
How to I make all of them have a roll over effect?

I can do it with the mousein,mouse out for a predrawn panel put have no idea how to attach an action to a set of dynamically drawn panels!

Thanks
0
Comment
Question by:jellydeal
2 Comments
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 2000 total points
ID: 37727354
Use AddHandler to wire up the events of the dynamically created panels.
0
 
LVL 17

Expert Comment

by:nepaluz
ID: 37727377
Try setting the color using the Enter and Leave events of the Panel (not sure this works though, panel does not have an OnHover event.)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

885 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