The thing I forgot to say is I haven't gotten the graphics to go back
and forward yet I will work on that later
right now I am just talking about the edit field
Brian Heibert
[EMAIL PROTECTED]
On Apr 25, 2006, at 7:50 PM, Brian Heibert wrote:
Hi,
I am writing a card-based game creator
I have this code
Dim file As FolderItem
Dim fileStream As TextInputStream
file= TemporaryFolder.child("AdventureCreator TempFile")
fileStream=file.OpenAsTextFile
EditField1.text = fileStream.readall
fileStream.Close
to go back
and this code
Dim file As FolderItem
Dim fileStream As TextOutputStream
file= TemporaryFolder.child("AdventureCreator TempFile")
fileStream=file.CreateTextFile
filestream.WriteLine EditField1.text
fileStream.Close
editfield1.text = ""
to go forward
The problem I am having now is
Next makes it blank
Back brings back the last text
so it only works as one card
how can I make it so that it would go to different cards
up to a certain number that I would set?
and if I hit back it would go back to the last saved card
and not be blank and if I hit forward if back was hit before it would
go to the next card that was filled in otherwise it would provide a
empty card to be used?
Brian Heibert
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>