FileName in Open/Save dialog window

Hi all,

I’ve recently been trying to implement a Open and Save dialog window in my project. The best implementation I found was from this post by khalibloo: [here][1]. The dialog window in itself works fine, but I cannot figure out how to set default name for the file I’m saving so that I don’t have to type one in every time.

I know from [here][2] it should start with ‘\0’, but for the life of me I couldn’t get anything to be set as default name, it always stays blank (see picture).

Has anyone had similar troubles getting the default name to appear?

Nevermind I was adding “\0” at the beginning, as the FileName was still a string which made the entire string = null.

  • How do I do that? I didn’t find the link