A couple of queries

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2008
Posts: 3
Reputation: Now Then is an unknown quantity at this point 
Solved Threads: 0
Now Then Now Then is offline Offline
Newbie Poster

A couple of queries

 
0
  #1
Dec 17th, 2008
Hi,

I hope someone can help me with a few things that are holding me up now. Please feel free if you can answer just one query - any help is greatly appreciated !

1) Can I implement a dynamic tooltip when hovering over a dynamically created control? What is the best way to do this? Anyone seen any examples?

2) I have a number of dynamically created controls added to a panel control, each of which contains a radio button. When I click the dynamic control the radio button is checked. BUT, I want the act of clicking one instance to uncheck any others. Will I need to implement this in the class for the dynamic control, or in a foreach loop in the parent panel? Any ideas or examples?

3) How does one capture (for example) <Ctrl-A> when pressed within a control (above mentioned panel - to add a new dynamic control without going through my menu strip "Add" control).

4) The dynamic control mentioned above is a groupbox that contains a number of labels and the radio button. I have code for mouse click, mouse enter and mouse leave wired to these events, but I've found that I have to wire the event handler to each of the child controls in the groupbox. Is there any way I can code this so that mouse click, enter or leave anywhere in the parent groupbox can be wired just once (ie not for each of the child controls too)?

OK - last one for now

5) When one of the above mentioned dynamic strips is added to the panel, it's also added to the list of a "Delete" menu strip parent dynamically. But how can I detect when one of these dynamically allocated "Delete" items is clicked?

Please answer any one or more that you can manage. I'm not trying to get you to code it for me (far from it) but even pointers in the right direction would be really appreciated.

Thanks, Ken.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,735
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 186
LizR LizR is offline Offline
Posting Virtuoso

Re: A couple of queries

 
0
  #2
Dec 17th, 2008
1. You could change the tooltip on mouse over, see http://msdn.microsoft.com/en-us/library/s894w4aa.aspx

2. do they not auto uncheck now? make sure their tab index is different.

3. set the shortcut key

4. you should be able to use the same code for all of them.

5. Use its clicked event
Last edited by LizR; Dec 17th, 2008 at 5:59 pm.
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 44
Reputation: hieuuk is an unknown quantity at this point 
Solved Threads: 4
hieuuk hieuuk is offline Offline
Light Poster

Re: A couple of queries

 
0
  #3
Dec 17th, 2008
2. You maybe need to set their group name to the same thing so they will au to un-check. Not sure thought 'cos I'm not have a computer with VS right now.
4,5 : Don't understand the question but I guess LizR should had it all explained.
.Net Developer - 3D Game Designer
My Portfolio/Blog: http://www.hieu.co.uk
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC