TextBox - Change "IsPassword" via blueprint or C++

Hello,
How can I change parameter “IsPassword” in TextBox via blueprints or C++? Casting to EditableText doesn’t work.

Regards

Hey -

Can you elaborate on what you mean by changing the parameter? Are you trying to change the name of the parameter in the editor? To do this you would need to edit the source code to change the name of the property in the EditableTextBox.h file.

I want to create XYZ widgets which have MyValidationTextBox widget and other elements. MyValidationTextBox has TextBox and other elements.
I want to be able to set “IsPassport” to true or false in XYZ widgets designer view for TextBox. TextBox doesn’t share SetIsPassword method via blueprints, so I can’t share variable in XYZ widgets designer view. How can I do this? (I can’t use EditableText)

Hey -

If you’re unable to use an editable text variable, then you can set the text box as a password directly from the designer tab in the Appearance section of the Details tab. Then in the graph you can use your text box variable to get the “Is Password” boolean for the text box which will the checkbox set in the designer. Here are a couple of screenshots to show what I mean.

111869-ispassword2.png

Cheers