PC Review


Reply
Thread Tools Rate Thread

DataGrid and MouseEvent Problem

 
 
Thomas Bednarz
Guest
Posts: n/a
 
      21st Sep 2004
I use PocketPC 2003 and C# as language.

I have a DataGrid control which displays data records from a database
server. I have a context menu which allows editing or deleting of a
selected row (record).

Problem:

When I tab and hold the stylus for one or two seconds I get the
context menu. But I do not get ANY mouse events. I have written
handlers for all three events providing coordinates (MouseDown,
MouseUp, MouseMove). NONE of these events gets fired unless I release
the stylus.

This has very nasty side effects. If a user has lets say row 3
selected and now tab and holds the stylus on row 6 he gets the
context menu correctly. Since now mouse events are fired the
coordinates of row 3 are still stored in my program. If the user
selects to delete the row, he deletes row 3 instead of 6!

Does anybody know about this problem? Is this a bug? Any workaround
available?

Many thanks!



Tom
 
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
Problem in DataGrid Prakash Microsoft C# .NET 2 13th Jan 2006 02:55 PM
problem in nesting datagrid in to a nested datagrid sajvargs Microsoft ASP .NET 0 20th Feb 2005 12:17 AM
DataGrid TableStyle Problem and ScrollBar Problem =?Utf-8?B?Sm9iIExvdA==?= Microsoft Dot NET 0 24th Sep 2004 04:59 AM
RE: TextBox MouseEvent Not Fired On ScrollBars =?Utf-8?B?TWljaGVsIEhhcmR5?= Microsoft Dot NET Framework Forms 0 15th Jun 2004 07:43 PM
MouseEvent on Form Colin McGuire Microsoft VB .NET 2 3rd Dec 2003 09:15 PM


Features
 

Advertising
 

Newsgroups
 


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