473,386 Members | 1,679 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,386 software developers and data experts.

Two questions: 1. Change Enter to tab, 2. PostEvent like for PB to

1. How can I do?, if the user press the Enter key, tranform to the Tab key

2. If someone has used PowerBuilder, there is a way to Post events and
functions (PostEvent(eventname) or Object.Post FunctionName/EventName: Adds
an event to the end of the event queue of an objec), How can I do it in C#?
Sep 8 '06 #1
2 1968
Hello Andres,

Analyze the pressed key (KeyEventArgs) in the KeyDown handler
and in case of Enter send Tab

AR1. How can I do?, if the user press the Enter key, tranform to the
ARTab key
AR>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Sep 8 '06 #2

"Andres Romero" <An**********@discussions.microsoft.comwrote in message
news:6D**********************************@microsof t.com...
1. How can I do?, if the user press the Enter key, tranform to the Tab key

2. If someone has used PowerBuilder, there is a way to Post events and
functions (PostEvent(eventname) or Object.Post FunctionName/EventName:
Adds
an event to the end of the event queue of an objec), How can I do it in
C#?
PostMessage would be the ticket at the Win32 API level. For the abstraction
of specifying a particular method, perhaps Control.BeginInvoke will do what
you are looking for? I believe it uses PostMessage internally, then later
the message pump decodes the message and calls the delegate.
Sep 8 '06 #3

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

Similar topics

3
by: Megan | last post by:
I am not that good at Access and don't know much about it, so I have a few questions for anyone who knows Access very well. First off, I should mention that the company I work for uses Access as a...
4
by: Megan | last post by:
Okay, I have a few questions regarding an Access database our company has. I should first mention that I'm not that knowledgable in Access and don't really know how to use it, but I am learning. We...
7
by: deko | last post by:
I have a textbox in a form into which users enter a string to execute a search. After the user presses Enter, I'd like the focus to go back to the textbox, but the default behavior of the Enter...
1
by: jsb2n | last post by:
I haven't developed applications in 2 years (have been doing straight SQL Server work) and I am new to developing in Access. I know that using the datasheet view of a form is not usually the...
1
by: Gidi | last post by:
helo i have few questions about working with datagrid 1. after i got help from this forum i succeded to move between columns by preesing the enter key, now my questio is how can i decdied which...
6
by: Brian | last post by:
I wrote this program to calculate a users gross pay based on marital status and the number of exemptions they have. I have a few questions about my functions, heres my code: #include <iostream>...
1
by: Andres Romero | last post by:
Is there any way of write a PostEvent like in C# as in PowerBuilder?
7
by: Don | last post by:
I'm not very proficient with Access, probably only enough to make me dangerous. With that said I've got two questions. #1 (probably pretty simple). I know I've done this before but how do I get...
0
by: webgirl | last post by:
I'm relatively new to SQL Server & looking for some guidance, if possible. I've been reading lots of different things & am a bit confused about some basics. I have an Access Project with SQL...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
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...

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.