Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bug Report (https://forums.graalonline.com/forums/forumdisplay.php?f=193)
-   -   GuiMLTextEditCtrl.maxchars bug (https://forums.graalonline.com/forums/showthread.php?t=134269453)

Jakov_the_Jakovasaur 08-07-2014 08:50 PM

GuiMLTextEditCtrl.maxchars bug
 
hello!

i noticed that when you set maxchars on a GuiMLTextEditCtrl object that it is actually limiting the input to one character less than what is specified, for example if i set GuiMLTextEditCtrl.maxchars = 500;, it will instead limit the input to 499 characters

on the other hand if i set maxchars on a GuiTextEditCtrl object, the input is limited to the exact amount of characters specified

this is an easy bug to work around but i think its worth pointing out!

Torankusu 08-09-2014 10:31 AM

Does the LINE this text is on get picked up as a character?
stupid question, but if you hit enter and go to the next line, does that make the first actual letter the second character?

Jakov_the_Jakovasaur 08-09-2014 10:39 AM

hello!

there were no line breaks in the text i was placing within the control, i also tested this by entering 500 of the same alphanumeric characters


All times are GMT +2. The time now is 03:22 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.