Thursday, April 19, 2012

EditBox Methods

Hey guys,

I'm making a simple notepad type mod and I was wondering if there is a maxLines parameter for edit boxes. I'm trying to find a way to limit the text in the edit box, not just by letter, but also by line. I know I can limit the letters but I want to have something for when you are using bullets or something and so the whole line isn't used. For instance:

Blah Blah

-Blah

-Blah

-Blah

Is there a way to detect if the text is leaving the EditBox itself. Sorry If I confused anyone. Thanks for any help in advance.

No comments:

Post a Comment