Click here to Skip to main content
15,891,910 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Starting a process from a windows service running as User? Pin
Dave Kreskowiak22-Jan-09 12:15
mveDave Kreskowiak22-Jan-09 12:15 
QuestionFramework Bug - Known or Unknown? Pin
nlarson1121-Jan-09 10:02
nlarson1121-Jan-09 10:02 
AnswerRe: Framework Bug - Known or Unknown? Pin
Dave Kreskowiak21-Jan-09 11:03
mveDave Kreskowiak21-Jan-09 11:03 
GeneralRe: Framework Bug - Known or Unknown? Pin
nlarson1121-Jan-09 11:15
nlarson1121-Jan-09 11:15 
GeneralRe: Framework Bug - Known or Unknown? Pin
Dave Kreskowiak21-Jan-09 12:13
mveDave Kreskowiak21-Jan-09 12:13 
GeneralRe: Framework Bug - Known or Unknown? Pin
nlarson1121-Jan-09 14:07
nlarson1121-Jan-09 14:07 
GeneralRe: Framework Bug - Known or Unknown? Pin
Dave Kreskowiak21-Jan-09 18:33
mveDave Kreskowiak21-Jan-09 18:33 
AnswerRe: Framework Bug - Known or Unknown? Pin
Eddy Vluggen21-Jan-09 23:53
professionalEddy Vluggen21-Jan-09 23:53 
nlarson11 wrote:
but it's not my expected behavior

People always expect strange things from machinery Smile | :)

Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
    TextBox2.TabStop = TextBox1.Text.Trim().Length > 0
    'TextBox2.Enabled = TextBox2.TabStop for visual feedback.
End Sub


If you just want to move the focus to the "next" control, try this;
Me.ActiveControl.SelectNextControl(sender, True, False, True, True)

nlarson11 wrote:
be nice if I didn't have to put this in either every control or form...


Well, good news is that you can inherit behavior. Next, go to the solution-explorer and right-click to "Add a new Item". From the dialog presented, choose "Inherited Form". If you press "OK", it'll ask what Form you want to inherit from. Point this to your "Form1". The same thing is possible with components.

I are troll Smile | :)

GeneralRe: Framework Bug - Known or Unknown? Pin
nlarson1122-Jan-09 4:15
nlarson1122-Jan-09 4:15 
AnswerRe: Framework Bug - Known or Unknown? Pin
Ben Fair22-Jan-09 9:19
Ben Fair22-Jan-09 9:19 
QuestionDynamic Item Template DropDownList in DataGrid, Grid disappears on SelectedIndexChanged Pin
Member 327333921-Jan-09 6:37
Member 327333921-Jan-09 6:37 
QuestionQuestion on strongly typed datasets and using the typed datarows. Pin
Jon_Boy21-Jan-09 4:39
Jon_Boy21-Jan-09 4:39 
AnswerRe: Question on strongly typed datasets and using the typed datarows. Pin
Steven J Jowett21-Jan-09 22:04
Steven J Jowett21-Jan-09 22:04 
GeneralRe: Question on strongly typed datasets and using the typed datarows. [modified] Pin
Jon_Boy22-Jan-09 1:11
Jon_Boy22-Jan-09 1:11 
GeneralRe: Question on strongly typed datasets and using the typed datarows. Pin
Steven J Jowett22-Jan-09 5:16
Steven J Jowett22-Jan-09 5:16 
Questionin msaccess val function what is in oracle? Pin
premprakashbhati21-Jan-09 2:26
premprakashbhati21-Jan-09 2:26 
AnswerRe: in msaccess val function what is in oracle? Pin
EliottA21-Jan-09 2:44
EliottA21-Jan-09 2:44 
AnswerRe: in msaccess val function what is in oracle? Pin
Wendelius21-Jan-09 20:18
mentorWendelius21-Jan-09 20:18 
Questionhow to publish vb.net 2005 project with sqlserver database help me anyone Pin
NaliniNagarajan21-Jan-09 2:09
NaliniNagarajan21-Jan-09 2:09 
AnswerRe: how to publish vb.net 2005 project with sqlserver database help me anyone Pin
EliottA21-Jan-09 2:44
EliottA21-Jan-09 2:44 
AnswerRe: how to publish vb.net 2005 project with sqlserver database help me anyone Pin
rprateek21-Jan-09 13:15
rprateek21-Jan-09 13:15 
AnswerRe: how to publish vb.net 2005 project with sqlserver database help me anyone Pin
Wendelius21-Jan-09 20:19
mentorWendelius21-Jan-09 20:19 
QuestionWindow Height Pin
afridy21-Jan-09 0:51
afridy21-Jan-09 0:51 
AnswerRe: Window Height Pin
Dave Kreskowiak21-Jan-09 3:41
mveDave Kreskowiak21-Jan-09 3:41 
GeneralRe: Window Height Pin
afridy21-Jan-09 5:05
afridy21-Jan-09 5:05 

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.