Click here to Skip to main content
16,013,605 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionName 'Listbox1' is not declared error Pin
jasontor27-Jun-07 19:47
jasontor27-Jun-07 19:47 
AnswerRe: Name 'Listbox1' is not declared error Pin
CPallini27-Jun-07 21:58
mveCPallini27-Jun-07 21:58 
AnswerRe: Name 'Listbox1' is not declared error Pin
Dave Kreskowiak28-Jun-07 4:28
mveDave Kreskowiak28-Jun-07 4:28 
QuestionThe syntax about IDataReader? [modified] Pin
cateyes9927-Jun-07 15:37
cateyes9927-Jun-07 15:37 
AnswerRe: The syntax about IDataReader? Pin
TwoFaced27-Jun-07 18:45
TwoFaced27-Jun-07 18:45 
GeneralRe: The syntax about IDataReader? Pin
cateyes9927-Jun-07 19:31
cateyes9927-Jun-07 19:31 
Questionuhm hey ive got a question Pin
ricebowl0927-Jun-07 14:17
ricebowl0927-Jun-07 14:17 
AnswerRe: uhm hey ive got a question Pin
Christian Graus27-Jun-07 14:32
protectorChristian Graus27-Jun-07 14:32 
ricebowl09 wrote:
uhm hey ive got a question


And that sets your post apart from the others in this forum ? A meaningful subject can attract people who can help you.


ricebowl09 wrote:
how do i get the focus to change from a textbox to a button so that i dont have to keep moving my mouse around?


You need to capture the fact that you've finished typing. You can do that one of several ways. The most obvious is to handle the focus lost event of the textbox and move the focus to the button. Actually, if the button is the default for the form, I think enter will press it for you.

The other ways I can think of, are bound to drive your users mad. You shouldn't just magically move the focus to a button. You could handle the tab keypress and make it move the focus ( that happens for most controls, but for hte textbox, I think it usually just enters a tab ( as you'd hope )


Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

AnswerRe: uhm hey ive got a question Pin
Rupesh Kumar Swami27-Jun-07 19:15
Rupesh Kumar Swami27-Jun-07 19:15 
GeneralRe: uhm hey ive got a question Pin
Christian Graus27-Jun-07 19:40
protectorChristian Graus27-Jun-07 19:40 
GeneralRe: uhm hey ive got a question Pin
Rupesh Kumar Swami27-Jun-07 20:26
Rupesh Kumar Swami27-Jun-07 20:26 
GeneralRe: uhm hey ive got a question Pin
Mycroft Holmes27-Jun-07 22:46
professionalMycroft Holmes27-Jun-07 22:46 
Questionhow to create something similar to .htaccess Pin
uglyeyes27-Jun-07 13:49
uglyeyes27-Jun-07 13:49 
AnswerRe: how to create something similar to .htaccess Pin
Christian Graus27-Jun-07 13:58
protectorChristian Graus27-Jun-07 13:58 
QuestionData bound combo box in datagridview Pin
steve_rm27-Jun-07 11:30
steve_rm27-Jun-07 11:30 
AnswerRe: Data bound combo box in datagridview Pin
AlexeiXX327-Jun-07 11:57
AlexeiXX327-Jun-07 11:57 
Questioncontrast and sharpness change of image Pin
Mortezai27-Jun-07 7:44
Mortezai27-Jun-07 7:44 
AnswerRe: contrast and sharpness change of image Pin
Dave Kreskowiak27-Jun-07 7:57
mveDave Kreskowiak27-Jun-07 7:57 
AnswerRe: contrast and sharpness change of image Pin
Christian Graus27-Jun-07 10:49
protectorChristian Graus27-Jun-07 10:49 
Questiondata binding update data source Pin
Mortezai27-Jun-07 6:49
Mortezai27-Jun-07 6:49 
AnswerRe: data binding update data source Pin
Dave Kreskowiak27-Jun-07 7:13
mveDave Kreskowiak27-Jun-07 7:13 
GeneralRe: data binding update data source Pin
Mortezai27-Jun-07 9:22
Mortezai27-Jun-07 9:22 
GeneralRe: data binding update data source Pin
Dave Kreskowiak27-Jun-07 9:40
mveDave Kreskowiak27-Jun-07 9:40 
QuestionWhich API do I call to abort logoff/shutdown Pin
kbern327-Jun-07 5:43
kbern327-Jun-07 5:43 
AnswerRe: Which API do I call to abort logoff/shutdown Pin
Craster27-Jun-07 5:58
Craster27-Jun-07 5:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.