Skip to main content
Participating Frequently
May 2, 2010
Question

Last character of file names being deleted for some reason...

  • May 2, 2010
  • 1 reply
  • 687 views

I created an input text box, and depending on what the user enters, it will create a file with that same name. However, for some reason, it's deleting the last character of the filename when it creates the file. For example, if you type "House" in the input text box, then the file that it will create will say "Hous.txt"

What is causing this and how can it be fixed?

This topic has been closed for replies.

1 reply

AttaBoy2
Inspiring
May 2, 2010

make your textfild bigger or better yet have it autoSize.RIGHT

KnuxchanAuthor
Participating Frequently
May 2, 2010

The field had the maximum of 30 characters in it already and I entered a string that was only 5 characters and it still cut it off.

I set the textfield to right justification and it's still doing the same thing.

AttaBoy2
Inspiring
May 2, 2010

show me the code that adds .txt and displays the textfield