Click here to Skip to main content
15,900,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everybody. I want to show the source code structure or code editor window regarding to a specific element such as buttons, message boxs, LinkLabels... when I move mouse on it. This pop-up can be disapear or change to another codes of another elements depending on the location of mouse. How can I call the source code information of each elements and combine with Mouse events to get this target? Does anyone have an approach for this issue? Thank you in advance. Hoping to hear from you guys soon!
Posted
Comments
[no name] 11-Apr-13 10:17am    
A tooltip?
tunglinh2611 11-Apr-13 11:42am    
Yes, exactly. So how to get the related source code for tooltip? Thanks
[no name] 11-Apr-13 11:58am    
You don't. Use a tool tip to display whatever it is that your trying to do.
tunglinh2611 11-Apr-13 12:17pm    
I mean it'll show like tooltip but the popup window can be preserved to view when moving the mouse on its area. You also can copy code, scoll... on this window until you move out. I'm stuck how to get and show out the related code of elements from source code editor? Thank you for your consideration
BillWoodruff 17-Apr-13 3:17am    
What would the "source code" for a Control, like a Button, look like: for example, if the Button had a MouseDown EventHandler, and a KeyUp KeyPressEventHandler, then you'd want to display, in your pop-up window, both the name of handler, and the C# code in the handler ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900