PC Review


Reply
Thread Tools Rate Thread

datagrid and ProcessKeyPreview()

 
 
=?Utf-8?B?UmFq?=
Guest
Posts: n/a
 
      14th Jun 2006
Windows application C#: I have a datagrid, in the 2nd column the user has to
press the enter key between the contents and once entered the data from the
cursor point till end should move to next line and removing those content
from the first line.

I am able to achive this by overrideing ProcessKeyPReview method but
randomly the contents of the previous lines are displayed in next line not
the removed contents(contents are removed from the first line). This happens
very much randomly can any body let me know why excatly this is happening

Any help will be appreciated
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suppress key strokes in UserControl, ProcessKeyPreview Marius Horak Microsoft Dot NET Framework Forms 1 27th Jun 2007 10:28 AM
Added CheckBox to a DataGrid Doesn't work with DataGrid.Enabled=False Amar Microsoft ASP .NET 0 6th Apr 2004 11:14 AM
Overriding ProcessKeyPreview, Enter WM_KEYDOWN... Ali Eghtebas Microsoft VB .NET 3 4th Jul 2003 11:42 AM
Overriding ProcessKeyPreview, Enter WM_KEYDOWN... Ali Eghtebas Microsoft Dot NET 3 4th Jul 2003 11:42 AM
Overriding ProcessKeyPreview, Enter WM_KEYDOWN... Ali Eghtebas Microsoft Dot NET Framework 3 4th Jul 2003 11:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:14 PM.