what cause this problem?

Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Oct 2007
Posts: 13
Reputation: Cecilia_notes is an unknown quantity at this point 
Solved Threads: 0
Cecilia_notes Cecilia_notes is offline Offline
Newbie Poster

what cause this problem?

 
0
  #1
Dec 13th, 2007
I have a very interesting question here.
DataGridView1 is for data input and display, I set its editmode to onkeystroke. When the current cell is NOT in edit mode, click mouse right button will bring up a contextmenustrip. If the menu shows up and you don't choose any menu item, just click somewhere else, the menu disappears, the problem is, now you cannot edit any cell, no matter how much keystroke you do, no matter which cell you select, it does nothing. What happened? Your help is appreciated!
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 2,065
Reputation: Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice Ramy Mahrous is just really nice 
Solved Threads: 256
Featured Poster
Ramy Mahrous's Avatar
Ramy Mahrous Ramy Mahrous is offline Offline
Postaholic

Re: what cause this problem?

 
0
  #2
Dec 14th, 2007
Sorry, be more clear! what's your question?!
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 17
Reputation: drew.haley is an unknown quantity at this point 
Solved Threads: 0
drew.haley drew.haley is offline Offline
Newbie Poster

Re: what cause this problem?

 
0
  #3
Dec 27th, 2007
I'd be willing to bet it has something to do with the control's focus. You might make sure that it keeps focus after clicking other stuff as it will not accept keystrokes without having focus.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 13
Reputation: Cecilia_notes is an unknown quantity at this point 
Solved Threads: 0
Cecilia_notes Cecilia_notes is offline Offline
Newbie Poster

Re: what cause this problem?

 
0
  #4
Dec 28th, 2007
You are right drew.haley. The reason was what you said, and was fixed. Thanks.
Reply With Quote Quick reply to this message  
Reply

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



Similar Threads
Other Threads in the VB.NET Forum


Views: 757 | Replies: 3
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC