Ive used the edit box in a couple of games i have created, mainly to save player and level names.
Hers a sample of the events i used:
+ SB_SAVE: Button clicked
+ System: Is global variable 'EXPORTAS' Equal to "Save"
-> EB_SAVEASBOX: Enable
-> EB_SAVEASBOX: Focus on
-> System: Set global variable 'EXPORTAS' to "Name ?"
-> SB_SAVE: Set text to global('EXPORTAS')
+ SB_SAVE: Button clicked
+ System: Is global variable 'EXPORTAS' Equal to "OK ?"
+ System: For each Red ordered by Red('number') Ascending
-> INI: Write string Red('id') to item Red('number') in group EB_SAVEASBOX.Text
- > EB_SAVEASBOX: Focus off
+ SB_SAVE: Button clicked
+ System: Is global variable 'EXPORTAS' Equal to "OK ?"
-> System: Set global variable 'EXPORTAS' to "Save"
-> SB_SAVE: Set text to global('EXPORTAS')
-> INI: Write value global('speed') to item 33 in group EB_SAVEASBOX.Text
-> System: Create object REDTICK on layer 2 at (0, 0) from SB_SAVE 's pivot point
-> EB_SAVEASBOX: Disable
-> LB_IMPORT: Add line EB_SAVEASBOX.Text
-> SB_MYSAVES: Set 'id' to EB_SAVEASBOX.Text
(ive indented the events relating to the edit box to make it easier to read)
Hope this helps.
i'm assuming this is the same thing your talking about? <img src="smileys/smiley5.gif" border="0" align="middle" />