473,800 Members | 2,541 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 2206
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
21745
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
3578
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
4867
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
2072
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
9551
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,...
1
10251
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
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7576
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
6811
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
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
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
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
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.