Home > DeveloperSection > Forums > Simulate typewriter effect in textbox
Lady Bird Johnson
Lady Bird Johnson

Total Post:20

Posted on    October-05-2013 7:56 AM

 C# C# 

 1 Reply(s)
 2663  View(s)
Rate this:

I've searched a lot but didn't found anything , what I want to know is how I can type into a textbox slowly ... I mean for example , Typing letter by letter like if I was writing it ...

Hank Greenberg
Hank Greenberg

Total Post:12

Posted on    October-05-2013 9:02 AM

It sounds like you are trying to simulate typing text into a UI in C# and want it to go more slowly to look closer to what a human would type. If so then why not add artificial pauses in between sending key strokes?

void TypeText(string text) {
  foreach (var c in text) { 

Don't want to miss updates? Please click the below button!

Follow MindStick