473,788 Members | 2,726 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reverse Tab equivilent of this.ProcessTab Key()?

I have an application that is modifying the ENTER key to use
this.ProcessTab Key() for data entry screens (replacing a green-screen
Telenet app). I would like to do the equivilent of ths.ProcessReve rseTab()
for ALT-ENTER, but no such animal exists. Does anyone know how this could be
done?
Jun 27 '08 #1
3 2205
You can check the static Control.Modifie rKeys property:

if ((Control.Modif ierKeys & Keys.Alt) == Keys.Alt)
{
// alt is pressed
}

Note that you don't actually have to be in a Form to do this; it even
works from a console exe if you add a reference to System.Windows. Forms.

Marc
Jun 27 '08 #2
If you meant "how to move backwards", Control.SelectN extControl has a
"forward" argument; specify false and you'll move backwards.

Marc
Jun 27 '08 #3
Thank you. Moving back is what I had in mind. There didn't seem to be an
equivielent Process key for this.

"Marc Gravell" <ma**********@g mail.comwrote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
If you meant "how to move backwards", Control.SelectN extControl has a
"forward" argument; specify false and you'll move backwards.

Marc

Jun 27 '08 #4

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

Similar topics

2
2932
by: Steve Harrison | last post by:
Hi, I have several controls on one VB.NET form, which uses the tabindex to set the focus in the correct order when tab is pressed. However, if "Yes" is selected in combo1, and tab is pressed then I want to tab straight to combo3. Otherwise, the tabbing should behave as normal. Tab isn't detected on KeyPress or KeyDown events, so I tried this...
4
3153
by: Darren | last post by:
Hi. I have a javascript menu system which uses the "elementFromPoint" function. However Netscape/Mozilla doesn't recognise this function. Does it have an equivilent? Thanks -- Darren
2
21744
by: John Galt | last post by:
I was looking at a VB.NET program that is passing strings to method calls using ByVal. I was wondering if this is for a reason and, if so, should a C# conversion of code samples from VB.NET also use an equivilent rather than passing strings by reference?
3
1115
by: Bill | last post by:
I have a situation where I want to autotab to the next control when the previous control is defnitively completed with data. The dataentry controls are arranged in a grid and are named, for example: txtPC1 txtInstallAmt1 txtPC2 txtInstallAmt2 txtPC3 txtInstallAmt3 txtPC4 txtInstallAmt4 All change events for a column are mapped to a single method appropriate for
4
3577
by: trint | last post by:
I can't find the followings equivilent: flashPlayer.Movie = Application.StartupPath + @"/Cooler2.swf"; flashPlayer.FSCommand +=new AxShockwaveFlashObjects._IShockwaveFlashEvents_FSCommandEventHandler(flashPlayer_FSCommand); Any help is appreciated. Thanks, Trint
2
1510
by: Steve1 via DotNetMonster.com | last post by:
Hi all, I'm producing a data conversion app in C#. I have the code already written in VB6. I would to know if anyone knows of any links that shows the VB6 function/syntax equivilent in C#? For example in the VB6 code it has 'While rsSource.EOF' and 'Set rsTarget = ddTarget.OpenRecordset("SELECT * ..... etc...etc' , is there any links that will show me the C# equivilent??? Thanks in advance, Steve.
1
4865
by: Ryan Ternier | last post by:
I'm trying to find an equivilent function to VB's DatePart function. I have a Year, Month, the Day of week (Sunday, monday etc.) and the week (week 1, week 2) and I need to find the date of that month. Can anyone help me with this? /RT
3
1381
by: Abubakar | last post by:
Hi, I have used the Monitor/manualresetevent class in .net to sycnhronize threads in C#, right now I'm programming in pure c++ and win32 and want to acheive the same functionality. Whats the equivilent of that in c++? int m_regards; _Ab_.
3
2070
daniel aristidou
by: daniel aristidou | last post by:
Hi guys is there an equivilent of try (vb08) in vb6 If you dont know what try does in vb08 ... it tries to do something but if there is an error it simply ignores it. Try also contains commands like catch and finally. It solves many problems of programming for vb08 so i wondered if it did exist in vb6 cuase i cant seem to find it. If vb6 had a try function it would solve many problems posted in the forum. Daniel(~_~)
0
9656
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
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10175
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10112
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
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...
0
5399
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
4070
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
3675
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
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.