Hello. I have created a AGS Custom Save GUI which works very well. I have not solved one problem, which I see that AGDI has with its King's Quest games, and I was wondering if anyone could shed light on this for me. The text box in the Save GUI allows too many characters to be entered. And if the save game name is too long, when it appears in the List Box, it will overflow out the side and look very bad. I see that in KQ, if you try to type a name that is too long, it automatically does a sort of backspace to prevent the name from getting too long. How was this achieved? I can't seem to figure it out?
Thanks!
Rich
EDIT: Nevermind. I figured it out. After grabbing the text from the textbox, I just truncate it down to 20 letters before sending it on to the save game file. This makes it a piece of cake!
KQ Save Textbox limitation
Moderators: adeyke, VampD3, eriqchang, Angelus3K