WinForm Text Control that displays current character/character limit

Posted by Refracted Paladin on Stack Overflow See other posts from Stack Overflow or by Refracted Paladin
Published on 2010-06-14T18:15:55Z Indexed on 2010/06/14 18:22 UTC
Read the original article Hit count: 346

Filed under:
|
|
|
|

I need a way to display, like you see in some web apps, the current characters/character limit for a Text Control(i.e. 3/500). I usually see this as a label residing directly above or below the Text Control.

How is this 'normally' accomplished? Should I override my Text Control somehow? Do I just manually add labels by every Text Control and 'bind' them to properties of the Text Control? Do I need to create a composite control that has the Text Control & Label Controls together to accomplish what I need?

Any direction or help will be greatly appreciated.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET