2.72 saving changes

Started by Mordalles, Mon 27/11/2006 12:33:56

Previous topic - Next topic

Mordalles

i'm now triying to use version 2.72, and was just wondering what command i have to use instead of the following:

savebox.GetItemText(int, string); //
SaveDescription.SetText(string);
SaveDescription.GetText

savedescription is that little box where you type in the name of the save game, and savebox is the box with list of all your savegames. both on the savegui.
sorry if this is a stupid question.

creator of Duty and Beyond

Ashen

You can still look up the old commands in the manual, and it should redirect you to the new versions. In this case ListBox.Items for savebox, and TextBox.Text for SaveDesciprtion - looking up any of theose 'Formerly known as ..., which is now obsolete' commands in the off-line version (ags-help.chm) will bring you to the right page.
I know what you're thinking ... Don't think that.

Mordalles

thanks, ashen. i searched for "getitemtext" and didn't find anything.  ;D

creator of Duty and Beyond

Ashen

It's under ListBox.GetItemText, since it needs the Control pointer (savebox) to run properly. You can also use the 'Search' tab, which should give you the right secion, if not the exact command. (The search term will be highlighted when you scroll down the page.)
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk