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

default for command box

Hello. I have a program that when it starts up, the cursor is blinking
in the text box. That's good. I was just wondering how I can make the
command box underneath it (we'll say it calculates some value based on
whatever the textbox holds) trigger a click event when I press enter,
even though the cursor is still in the text box.

Any help is appreciated. Cya.

Jul 17 '05 #1
1 2303
MrTemp <mr****@help.net> wrote in message news:<mt8fb.8578$6C4.363@pd7tw1no>...
Hello. I have a program that when it starts up, the cursor is blinking
in the text box. That's good. I was just wondering how I can make the
command box underneath it (we'll say it calculates some value based on
whatever the textbox holds) trigger a click event when I press enter,
even though the cursor is still in the text box.

Any help is appreciated. Cya.


Set the Default property for the command button to True. This will
tie the enter key press to the click event for that button.

Jeramie
Jul 17 '05 #2

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

Similar topics

1
by: John Svercek | last post by:
On an aspx page, I notice when the page opens there is no default command button (press enter & nothing happens). However, once I set the focus on a text field one of the command buttons becomes...
8
by: Jerry Gaspard | last post by:
I'd like to know how to open a document in a default app. like for example if I wanted to open a .txt document I'd like my program open notepad if it is the default for a windows machine text...
12
by: Phoe6 | last post by:
The Program Fragment is this: int choice; /* Users Input Command */ .. .. .. printf("Enter a command: "); fflush(stdin); choice = getc(stdin); printf("\n");
2
by: RedEye | last post by:
Greetings, How do I set the default version of the .net framework via the command line? I have installed the .net framework v2 beta 2 and for what ever reason I am unable to set the default...
9
by: David Veeneman | last post by:
I'm just getting started with ASP.NET, using VS 2005. As an exercise, I opened the root web site in VS 2005 and created a simple welcome page. I saved the page as Default.aspx and made sure that...
1
by: Bawa | last post by:
Hi everyone, Here's my problem. I have a big vb.net application with a lot of calls to stored procs. I don't want to add the line "Command.commandTimeout = 600" in front of each of these...
0
by: neeraj | last post by:
Hi all I have developed on desktop application in Visual Basic for Hotel Management and my client requires multiple printing options here I have multiple printers first default printer which...
1
by: Om | last post by:
Hi, I am using SQL Server 2005 32 bit version. Could any one clarify me the caption database option with some examples? I am quite confused with the explanation given in MSDN. Kindly help me. ...
0
by: Smokey Grindel | last post by:
When ever I run a project the windows that open at the bottom always default to autos and command window... I REALLY want the default to be autos and output, is there anyway to set it like this? It...
1
by: bluerooster | last post by:
I have written code in order to send a report using the SendObject command in Access2003. It all works fine, however, I would like to know if there is anyway to use code in order for the command to...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.