Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How would I recognize if Text reaches the AbsoluteSize of a TextBox? [closed]

Asked by 5 years ago
Edited 2 years ago

How would I recognize if Text reaches the AbsoluteSize of a TextBox?

0
Marked as duplicate and spam because this is literally copy and pasted from https://scriptinghelpers.org/questions/75001 hiimgoodpack 2009 — 5y

Marked as Duplicate by hiimgoodpack and royaltoe

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?

1 answer

Log in to vote
1
Answered by 5 years ago

You could use TextBounds which will get the current size of the text in a text object.

if TextBox.TextBounds.X >= ChatBar.AbsoluteSize.X then
Ad