Click here to Skip to main content
15,885,985 members
Home / Discussions / C#
   

C#

 
GeneralRe: PROJECT WORK Pin
harold aptroot25-Sep-09 7:14
harold aptroot25-Sep-09 7:14 
QuestionSQL with C# Pin
sanforjackass25-Sep-09 3:26
sanforjackass25-Sep-09 3:26 
AnswerRe: SQL with C# Pin
Keith Barrow25-Sep-09 3:45
professionalKeith Barrow25-Sep-09 3:45 
GeneralRe: SQL with C# Pin
sanforjackass25-Sep-09 3:54
sanforjackass25-Sep-09 3:54 
GeneralRe: SQL with C# Pin
Keith Barrow25-Sep-09 4:30
professionalKeith Barrow25-Sep-09 4:30 
GeneralRe: SQL with C# Pin
Not Active25-Sep-09 4:42
mentorNot Active25-Sep-09 4:42 
GeneralRe: SQL with C# Pin
EliottA25-Sep-09 4:43
EliottA25-Sep-09 4:43 
QuestionHow to automatically scroll text up in a richtext box. Pin
Sophronis Mantoles25-Sep-09 3:02
Sophronis Mantoles25-Sep-09 3:02 
I am using a richText box to display (output) messages to the users of my application.   The box fills up from top down.   When messages accumulate they do not get pushed up.   Here is some of my code.

<pre><code>private void btnPowerOn_Click(object sender, EventArgs e)
            {
                  // init equipment set current limits etc  
                  richTextBox1.Focus();                 
                  richTextBox1.Text = richTextBox1.Text + "Initializing Equipment.. \n";
                  InitEquipment(); // initialize Equipment
                  richTextBox1.Focus();                 
                  richTextBox1.Text = richTextBox1.Text + "Turning Power Supply and Current Source on.. \n";
                  TE.PowerSupply.TurnOutputOn(strPowerSupplyName);
                  TE.CurrentSource.TurnOutputOn(strCurrentSourceName);
                  // checking to find which UUT's are enabled
                  WhichUUTChecked();
            }</code></pre>

The richTextBox gets called a few times. The richTextBox1.Focus() command does not seem to work they way I expect it.  
Any hints appreciated.

Sophronis Mantoles<pre></pre>
AnswerRe: How to automatically scroll text up in a richtext box. Pin
Calla25-Sep-09 3:22
Calla25-Sep-09 3:22 
GeneralRe: How to automatically scroll text up in a richtext box. [modified] Pin
Sophronis Mantoles25-Sep-09 4:51
Sophronis Mantoles25-Sep-09 4:51 
AnswerRe: How to automatically scroll text up in a richtext box. Pin
Alan N25-Sep-09 3:24
Alan N25-Sep-09 3:24 
AnswerRe: How to automatically scroll text up in a richtext box. Pin
Henry Minute25-Sep-09 3:27
Henry Minute25-Sep-09 3:27 
QuestionWhich one is better, forcing an enabled=true at each call or check it with an if statement? Pin
Anıl Yıldız25-Sep-09 3:01
Anıl Yıldız25-Sep-09 3:01 
AnswerRe: Which one is better, forcing an enabled=true at each call or check it with an if statement? Pin
freakyit25-Sep-09 4:07
freakyit25-Sep-09 4:07 
GeneralRe: Which one is better, forcing an enabled=true at each call or check it with an if statement? Pin
Anıl Yıldız25-Sep-09 4:18
Anıl Yıldız25-Sep-09 4:18 
GeneralRe: Which one is better, forcing an enabled=true at each call or check it with an if statement? Pin
PIEBALDconsult25-Sep-09 5:32
mvePIEBALDconsult25-Sep-09 5:32 
GeneralRe: Which one is better, forcing an enabled=true at each call or check it with an if statement? Pin
freakyit25-Sep-09 7:00
freakyit25-Sep-09 7:00 
GeneralRe: Which one is better, forcing an enabled=true at each call or check it with an if statement? Pin
PIEBALDconsult25-Sep-09 7:10
mvePIEBALDconsult25-Sep-09 7:10 
AnswerRe: Which one is better, forcing an enabled=true at each call or check it with an if statement? Pin
PIEBALDconsult25-Sep-09 5:06
mvePIEBALDconsult25-Sep-09 5:06 
AnswerRe: Which one is better, forcing an enabled=true at each call or check it with an if statement? Pin
PIEBALDconsult25-Sep-09 6:51
mvePIEBALDconsult25-Sep-09 6:51 
GeneralRe: Which one is better, forcing an enabled=true at each call or check it with an if statement? Pin
Anıl Yıldız25-Sep-09 7:02
Anıl Yıldız25-Sep-09 7:02 
GeneralRe: Which one is better, forcing an enabled=true at each call or check it with an if statement? Pin
freakyit25-Sep-09 7:07
freakyit25-Sep-09 7:07 
GeneralRe: Which one is better, forcing an enabled=true at each call or check it with an if statement? Pin
freakyit25-Sep-09 7:05
freakyit25-Sep-09 7:05 
GeneralRe: Which one is better, forcing an enabled=true at each call or check it with an if statement? Pin
PIEBALDconsult25-Sep-09 7:20
mvePIEBALDconsult25-Sep-09 7:20 
QuestionProblems with ID Automation Pin
Qendro25-Sep-09 2:40
Qendro25-Sep-09 2:40 

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.