Click here to Skip to main content
15,905,004 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to receive value from Crystal Formula fields? Pin
superdragon9-Mar-06 16:14
superdragon9-Mar-06 16:14 
GeneralRe: How to receive value from Crystal Formula fields? Pin
superdragon9-Mar-06 16:16
superdragon9-Mar-06 16:16 
GeneralRe: How to receive value from Crystal Formula fields? Pin
darkelv9-Mar-06 16:35
darkelv9-Mar-06 16:35 
QuestionWeird behavior with XPathNavigator Pin
FocusedWolf9-Mar-06 15:01
FocusedWolf9-Mar-06 15:01 
QuestionMulti-line message box line feeds Pin
gmhanna9-Mar-06 14:49
gmhanna9-Mar-06 14:49 
AnswerRe: Multi-line message box line feeds Pin
Sebastian Schneider9-Mar-06 22:22
Sebastian Schneider9-Mar-06 22:22 
AnswerRe: Multi-line message box line feeds Pin
albCode10-Mar-06 2:21
albCode10-Mar-06 2:21 
Questionmbs listview Pin
shopi309-Mar-06 14:11
shopi309-Mar-06 14:11 
AnswerRe: mbs listview Pin
Luis Alonso Ramos12-Mar-06 18:12
Luis Alonso Ramos12-Mar-06 18:12 
QuestionHuge problem with C# Web Application Project Setup!!! Pin
Jessie Blue9-Mar-06 11:57
Jessie Blue9-Mar-06 11:57 
QuestionHow to make cursor jump to the next text field Pin
ahchoo9-Mar-06 11:00
ahchoo9-Mar-06 11:00 
AnswerRe: How to make cursor jump to the next text field Pin
Roy Heil9-Mar-06 15:41
professionalRoy Heil9-Mar-06 15:41 
Step 1. On the form, set the KeyPreview property to true.
Step 2. Make sure that the TabIndex is correct for each TextBox that will have this feature.
Step 3. Add a KeyUp event for each of the TextBox controls. You can make one function, and assign the same function to each of the TextBox controls. Note that in my example, I have have named my function SSNTextBox_KeyUp. In my program, I have three Textbox controls, used for entering a Social Security number.
Step 4. Write the KeyUp event function as follows:

private void SSNTextBox_KeyUp(object sender, System.Windows.Forms.KeyEventArgs e)<br />
		{<br />
			if (((TextBox)sender).Text.Length == ((TextBox)sender).MaxLength) <br />
			{<br />
				SendKeys.Send("{TAB}");<br />
			}<br />
		}


I hope this helps.


Roy.

-- modified at 21:42 Thursday 9th March, 2006
AnswerRe: How to make cursor jump to the next text field Pin
Stefan Troschuetz9-Mar-06 21:14
Stefan Troschuetz9-Mar-06 21:14 
AnswerRe: How to make cursor jump to the next text field Pin
ahchoo10-Mar-06 5:39
ahchoo10-Mar-06 5:39 
QuestionGotFocus of Disabled List View .NET Pin
Lav Pathak9-Mar-06 10:08
Lav Pathak9-Mar-06 10:08 
Questionk-means clustering algorithms Pin
saimee9-Mar-06 7:14
saimee9-Mar-06 7:14 
AnswerRe: k-means clustering algorithms Pin
Roy Heil9-Mar-06 9:24
professionalRoy Heil9-Mar-06 9:24 
Questionuser control Pin
ap_sa9-Mar-06 7:07
ap_sa9-Mar-06 7:07 
QuestionC# and XML Pin
hung_ngole9-Mar-06 5:32
hung_ngole9-Mar-06 5:32 
AnswerRe: C# and XML Pin
spin vector9-Mar-06 6:41
spin vector9-Mar-06 6:41 
AnswerRe: C# and XML Pin
eggie59-Mar-06 17:59
eggie59-Mar-06 17:59 
AnswerRe: C# and XML Pin
Andreas X9-Mar-06 20:15
professionalAndreas X9-Mar-06 20:15 
AnswerRe: C# and XML Pin
Guffa9-Mar-06 20:38
Guffa9-Mar-06 20:38 
QuestionC# connection to Analysis services Pin
swap209-Mar-06 5:17
swap209-Mar-06 5:17 
QuestionHow to display smiley? Pin
Codecrammer9-Mar-06 4:41
Codecrammer9-Mar-06 4:41 

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.