473,799 Members | 2,942 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Win App | Tabbing into and away from datagrid

Hi,

I have a requirement to build a mouse free windows application and have to
hence rely heavily on the tabbing indices. However, I'm facing some issues
when the tab goes to a datagrid. It shows very random behavior when the focus
is on the last cell. It sometimes skips the next control to give focus to the
one after that, and sometimes even skips 2 controls. Also, when you try and
navigate back with shift+tab, it again skips quite a few controls.

Heads up:
I tried capturing the Tab key press in the processCmdKey method, but that
does not work as expected

Queries:
Has anyone ever faced similar problems? If yes, then what would be the
resolution?
For a read only datagrid, how can I prevent the tab key from navigating the
focus through each cell in the grid? I have currently defined a shortcut that
takes the control to the next active control but was wondering if there's a
straight way to do this.

All pointers are gladly appreciated
Thanks in anticipation
Nick
Feb 6 '06 #1
0 1157

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

Similar topics

145
6393
by: David MacQuigg | last post by:
Playing with Prothon today, I am fascinated by the idea of eliminating classes in Python. I'm trying to figure out what fundamental benefit there is to having classes. Is all this complexity unecessary? Here is an example of a Python class with all three types of methods (instance, static, and class methods). # Example from Ch.23, p.381-2 of Learning Python, 2nd ed. class Multi:
1
1253
by: Doug | last post by:
Hello, I have a datagrid with 3 columns, however when i tab between the cells, I do not want to make the 3rd column tabbed. so it immediately jumps to the 1st column of the next row. Is there anyway to do this? Thanks,
0
1290
by: tafs7 | last post by:
Hello, I have a custom datagrid control that works great. But I was thinking about adding some functionality to it. Currently, I use the datagrid to display one record at a time, and with item templates, if you click the edit button, the datagrid becomes a nice form to make changes. Kinda like a big rolodex, and as you page you flip thru each record individually. My question is this: how can I have some kind of server side script
1
1423
by: ACaunter | last post by:
Hi all, Could someone please explain to me how i could load a different datagrid or fill out all the textboxes with feilds from a database - once a user types a character in a textbox. I have the code for it, but my problem is that it doesn't work unless i click on an empty button, just to reload the page... also how would i control the direction of the tabbing on my ASP.Net webpage??? Thanks, adam
1
1407
by: Tom | last post by:
A dumb question: Exactly how does tabbing work in an ASP.NET form in the browser? Does it work the same was as a Windows Forms form does? I have a rather complicated ASP form (that consists of HTML tables, ASP text boxes, drop downs, data grids, etc)... and no matter how I set the TAB indexes, it never seems to work the way I want it to - sometimes tabbing all over the place! What am I doing wrong? Thanks for any input...
0
1108
by: Mike Walters | last post by:
We are auto tabbing from one control to the next after max length is reached, but when within a groupbox tabbing remains within itself. when we are at the max length and use the backspace or Del key we tab out, any suggestions this is within our custom textbox control
0
1238
by: Nick | last post by:
Hi, This is a very common issue. I have a read only Windows Application datagrid, on which i want to prevent the tabbing between the columns and rows. What needs to happen is this: When i hit tab and land on the grid, I have to scroll through the rows using the up/dwon keys . When I hit tab when I'm on the grid, i need to set the focus onto the next
6
2246
by: Doug Bell | last post by:
Hi I have a DataGrid with some hidden columns and also some read Only and some ComboBox Columns. Sandard Tabbing through the Datagrid sees the focus go to the hidden columns requiring further Tabbing to get to the desired column but it works fine stopping correctly on the ComboBox column. I have built a routine to test whether the use is Tabbing forward or back (Shift Tab) by looking at the last location, not by trapping the Keys. If
10
1920
by: jp | last post by:
I have multiple PMW widgets (EntryFields, ScrolledField etc), how can I skip over these widgets when using the tab key? Thank you, John
0
9685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10473
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10025
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7563
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6804
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5461
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4138
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3755
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.