Click here to Skip to main content
15,902,275 members

Comments by milenalukic (Top 97 by date)

milenalukic 26-Jul-13 10:06am View    
Once for null and the second time for blank
milenalukic 3-Feb-13 16:57pm View    
I would first load the data source for list category and populate this list. Then on selected index changed run the data source for the animal with the selected category and populate the animal list.

Normally I would use list.items.add to populate the lists.

For(int i=0;i
milenalukic 3-Feb-13 14:36pm View    
Yes the hardware will perform the click. I need to identify the control that the user clicked on to run the onclick code. What I would expect is some code to go under the form activated event that will determine if there is an underlying control and if so to perform the on click event of that control. apologies if this was not clear in the first place.
milenalukic 3-Feb-13 13:50pm View    
If I knew I would'n be asking!!!

If on an menu strip I use theSystem.Windows.Forms.Control.Click how do I tell it to click again. That is what I need to know.

So far the best I managed was to activate the form on mouse over and then the control click works fine. But this is not ideal and I would like the form to be activated when it is clicked on and if there is an underlying control (button or menu etc) to perform that click event.

Maybe you are not understanding what I need to do.
milenalukic 3-Feb-13 13:42pm View    
Thanks for your reply but sorry I don't get the idea.

In my application users may have multiple forms open. When they click on say a menu item of an inactive form this does not work (because the first click activates the form). The request is to make the menu work with the first click. Apart from a menu this could be any other clickable control.

On form activated I will not know which control has been clicked (or I do not know how to find out). Some sample code would be appreciated as I have spent a week on google and got no where so far.