I Love Textboxes, You Love Textboxes: We Made Changes to 'Em

Awesome feature!
Does this mean TextBox.ClearTextOnFocus will be set to false by default?

1 Like

It has been fixed. I think it was just due to it being enabled in Studio before the main game.

2 Likes

It’s here. It’s finally here. Hell yes.

Ability to color portions of text within the same TextLabel/Textbox when? :eyes:

6 Likes

ClearTextOnFocus being set to true will prevent text selection from working in all cases except for Ctrl+A. Is this intentional?

3 Likes

Can we get a property to change selection color?
image
image

35 Likes

Hey there! Awesome to see this new feature. As I am creating application centers for groups I was wondering if there is a way to disable the copy/pasting.

1 Like

You can’t directly, (unless there is a feature), but you can check if there were more than one character added at a time. Just bind the text property to a changed event and check the new text with the old text and if the difference is more than 1 character set the old text.

2 Likes

I’m curious what the use case for this is? Is there a reason you can not use text labels?

1 Like

does this mean your text wont delete when you select it again after clicking off of it?

1 Like

You can still enable the ClearTextOnFocus property if you want that behavior.

2 Likes

Well generally from my understanding, his application center needs user input from text boxes and he doesn’t want copy and pasting. Text labels would not work in this situation.

2 Likes

I’m just wondering why copying and pasting is hazardous to his use case. If the user types the data, why is it bad it they can copy it?

1 Like

These features are useful but how would anyone outside the Forum know that they have been added?

Not only that but Young users probably wouldn’t know these shortcuts, how does Roblox propose to address these situations?

1 Like

Well, an example would be exams, you don’t get to take your answers in with you, you have to write then in the exam. It could be argued that the same should go for applications, you put effort into it, and you don’t just have all the answers to fill the application in 1 minute. Not to mention that copy/pasting enabled could be used to plagiarise work.

2 Likes

First off, even before this update, anyone could just type them in a notepad and then paste them in. They would then be able to copy from that text editor and still have the answers.

Secondly, you could judge the time it takes for them to answer AND how many characters they type per second (if they paste it in, the characters per second would spike.

1 Like

oh my god… thank you.

As said above access to the copy and past API and ability to color parts of textlabels etc would be awesome!

1 Like

This man is ahead of his time.

Seriously though, thank you for these improvements! Could we perhaps get finer control over textwrapping and scaling for textlabels/textboxes next?

3 Likes

Couldn’t you always copy/paste in TextBox’s? I’ve always copy and pasted text into the Text property of a TextBox without any problems, unless I’m missing something here?

You weren’t able to select stuff in text boxes before this feature was introduced. Since you couldn’t select stuff, you weren’t able to copy stuff from text boxes, either.

1 Like

One small thing I don’t like about this update is the lack of control over the selection styling. I have a custom font rendering system in my game which generates text from a spritesheet and overlays it on top of TextLabels and TextBoxes, and hides the regular text by setting TextTransparency to 1.

Normally it looks like this:
image

Unfortunately, text selection doesn’t respect transparency, so the original text shows up behind the custom text:
image

If there was more control over how selections look visually, this would be a perfect update!

(inevitable question faq: yes, it supports unicode and falls back to a regular font for unsupported characters, no, regular roblox fonts don’t fit in well enough with the game theme :p)

7 Likes