Hello Developers, Happy Holidays!
I am need in help. I want to check if a textbox
text got cut off by truncated. I’ve searched, and I haven’t seem to found anything.
Is it even possible todo what I want?
I am need in help. I want to check if a textbox
text got cut off by truncated. I’ve searched, and I haven’t seem to found anything.
Is it even possible todo what I want?
Try this method where you turn off truncating for a split second, grab the text, then turn it back on, and compare to the textbox with truncating mode on version. Must be a localscript of course.
local textbox = script.Parent
textbox.TextTruncate = Enum.TextTruncate.None
local oldText = textbox.Text
textbox.TextTruncate = Enum.TextTruncate.AtEnd
if textbox.Text == oldText then
print(“is the same text”)
else
print(“is not the same text (was truncated)”)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.