Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 08-07-2003, 12:38 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,490
sde is on a distinguished road
capturing the tab key ( in a datagrid )

i'm working in a data grid, and i'd like to make it tab down rows, instead of across cells, then down rows.

i figure i somehow need to capture the tab key.

any ideas how to do this in any .net language?
__________________
Mike
sde is offline   Reply With Quote
Old 03-02-2006, 05:19 AM   #2 (permalink)
PUN1SH3R
Registered User
 
PUN1SH3R's Avatar
 
Join Date: Mar 2006
Location: Ontario, Canada
Posts: 5
PUN1SH3R is on a distinguished road
What you can do is for the KeyDown event of the datagrid you can capture the Tab key by using the following code.

Code:
If e.KeyCode = Keys.Tab Then

    'Move down instead of across.

End If
PUN1SH3R is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filling a datagrid with BLOB data vinny MS Technologies ( ASP, VB, C#, .NET ) 2 08-18-2004 11:06 PM


All times are GMT -8. The time now is 05:11 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting