Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 31st, 2008, 08:18 PM
Authorized User
Join Date: Jan 2008
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Press delete on keyboard


please help me regarding the case below.
i am using win form, VB NET.

i have 1 datagrid, with AllowDeleteRows property set to true.
if i selected row(s), then i press Del on keyboard,
it directly deletes the rows.
and i want prompt me the messagebox first and let user choose whether want to delete it or not.

is it related to keypress event?


Old April 9th, 2008, 02:38 AM
Authorized User
Join Date: Dec 2004
Posts: 69
Thanks: 0
Thanked 5 Times in 5 Posts
Send a message via Yahoo to whiterainbow

The actual event is "UserDeletingRow". Check with the keychar pressed and stop the action...

Thanks and Regards,

Senthil Kumar M.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Key press problem diegoblin Beginning VB 6 3 October 5th, 2006 02:10 PM
keydown/press r.parolari BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 1 March 17th, 2006 09:34 AM
How to reference keyboard press to visual button ? Necromancer26 C# 2 September 29th, 2003 03:56 AM
what happens when u press on a button? TaLz VS.NET 2002/2003 2 September 24th, 2003 12:28 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.