473,466 Members | 1,332 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Enter key to activate

Hi,
I wonder if there is I way I can designate a button (command) to be
activated using the Enter key. Of course there is a number of buttons in my
interface, but i want one specific to be activated by the use of the Enter.
Thank you in advance

--
--------------------------------------------
Jason Charalambides
The University of Texas
Dept. of Civil Engineering
1 University Station C1752
Austin, TX 78712-0276
--------------------------------------------
Jul 17 '05 #1
1 4272
> I wonder if there is I way I can designate a button (command) to be
activated using the Enter key. Of course there is a number of buttons in my interface, but i want one specific to be activated by the use of the Enter. Thank you in advance


Set its Default property to True and the functionality you seek will be
automatically implemented.

Rick - MVP
Jul 17 '05 #2

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

Similar topics

1
by: Jason Charalambides | last post by:
Could someone please help me on how I can set the "Enter" key to activate one specific task in my form? I have my program arranged in a manner similar to the "Display Properties" of the Windows...
2
by: lemming | last post by:
I'd like to save the current record only with "enter" and noch with "shift-enter" (default). Has anyone an idea ? Thanks, Klaudia
1
by: Seok Bee | last post by:
Dear Experts, Currently, in my web form there is many controls and with a submit button. When I click Enter is will activate the submit. How can I disable the 'Enter' key to activate the Submit...
2
by: ari | last post by:
I have an MDI form with a listview and a toolbar. I have 2 instances of this form running at once - lets call them A and B. If I am in A, and I click on the listview control in B, then B's enter...
0
by: nraji | last post by:
hi, I have designed a web part using VS 2003 (Web control library template). I need to publish that in share point. Its not like drag and drop the things from toolbar. Every thing I need to do in...
4
by: portCo | last post by:
Hello there, I am using Visual Basic 2005. I want to store a value when I press enter key on the keyboard. Could anyone help me out? Thanks alot.
0
by: Rainer Queck | last post by:
Hello NG, the hint on the property editor for the Form "Enter" event sais: Gets fired, if this control gets the active control. In my application I experience, that this is "mostly" true, but...
3
by: desertavataraz | last post by:
I am trying to find out how to retain focus on a button if you use enter to activate a click event on the button. When you hit the enter key, the focus should stay on the button until you hit tab,...
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
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,...
1
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...
0
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...
0
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,...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.