473,395 Members | 1,656 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Passing on PageUp/PageDown keys from a DataGrid to the object it's

I want a datagrid object that will not intercept PageUp or PageDown
keystrokes so that instead the tabcontrol it's on can pick it them up and
change TabPages. Any idea how to create a new version of the datagrid that
will do this?
Jul 21 '05 #1
1 1966
You can enable keypreview on the form. Then in the keypress event check to
see if the pageup/pagedown event takes place. If it does, move your tab
pages accordingly around.

Chris

"Harald Solvberg" <Ha************@discussions.microsoft.com> wrote in
message news:02**********************************@microsof t.com...
I want a datagrid object that will not intercept PageUp or PageDown
keystrokes so that instead the tabcontrol it's on can pick it them up and
change TabPages. Any idea how to create a new version of the datagrid that
will do this?

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: yihan | last post by:
Hi, I would like to make a pageUp and pageDown button to go up or down in the text ( it is like PgUp/PgDown on the keyboard). But it works on the IE but not on netscape 7.1. Could somebody tell me...
0
by: nm | last post by:
I'm using the Web Browser control in my app and notice that when I enter a new URL to view via text box, then give focus to the browser control, I can't page up or down within the browser until I...
2
by: Phil Galey | last post by:
I have a Panel control docked on all sides on a form and the panel control contains a PictureBox. I'm using the KeyDown event of the form to respond to the and keys for resizing the image and the...
1
by: Harald Solvberg | last post by:
I want a datagrid object that will not intercept PageUp or PageDown keystrokes so that instead the tabcontrol it's on can pick it them up and change TabPages. Any idea how to create a new version...
1
by: spamfilteraccount | last post by:
Hi, I have a textbox and a listbox and I handle keydown events in the textbox. I'd like to pass page up/down events to the listbox if the focus is on the textbox, so that the default handler of...
0
by: =?Utf-8?B?SGFyYWxk?= | last post by:
I have a datagrid on a tabcontrol and want PageUp and PageDown to change tabs on the tabcontrol but when on the datagrid the keystrokes get captured by the datagrid. I've created my own datagrid...
2
by: ssubbarayan | last post by:
Dear all, I am in the process of implementing pageup/pagedown feature in our consumer electronics project.The idea is to provide feature to the customers to that similar to viewing a single sms...
27
by: ssubbarayan | last post by:
Hi all, I am looking for some sample code which shows how to implement pageup/ pagedown feature using C language similar to the ones we encounter in our mobile devices.In mobiles if we dont have...
9
by: ssubbarayan | last post by:
Dear all, I am in the process of implementing pageup/pagedown feature in our consumer electronics project.The idea is to provide feature to the customers to that similar to viewing a single sms...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.