Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hey, I was wondering if there was a way to make the textbox act like the ubuntu's terminal application:
http://gyazo.com/0e28f08733105d9ca6c6bfc81035def6[^]

Basically the things I'm trying to do here:

1. Get the caret to be a larger size like the one in the picture
2. Make it so that you can't edit text before the new characters
Posted
Comments
Sergey Alexandrovich Kryukov 27-Dec-14 23:59pm    
First of all, which TextBox do you mean? Full type name, please. Essentially. I'm asking which of the UI libraries you want to use.
Anyway, you need to create a custom control not derived from TextBox...
—SA
ozthe1337 28-Dec-14 0:12am    
Okay but do you know how I would change the caret size?
Sergey Alexandrovich Kryukov 28-Dec-14 0:15am    
If could be some separate UI element or control. You did not answer my question on what you are using, so I cannot discuss all cases...
—SA
ozthe1337 28-Dec-14 0:19am    
Oh sorry, I'm just using the regular .net Framework Component Textbox
Sergey Alexandrovich Kryukov 28-Dec-14 10:56am    
Which one? I don't know who told you there is only one, but it's not true, so I asked you its full type name. Please...
—SA

1 solution

 
Share this answer
 
Comments
ozthe1337 28-Dec-14 0:48am    
I added the code to my project, but does nothing to the textbox control
ozthe1337 28-Dec-14 20:07pm    
Okay I tried that code and now it's starting to work(had a few complicated design errors, but now it's working), thanks!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900