M mramos Member Licensed User Longtime User Jan 25, 2011 #1 I am using: B4X: File.WriteString(File.DirInternal,Filename, MarkActDetail) to write to a file When I read with: B4X: LookupActDetail.Text = File.ReadString(File.DirInternal,Filename) I get this in the editext box: B4X: android.widget.EditText@43c47f60 I know Filename is good I can Write and then Delete it with no errors. I have dim as this: B4X: Dim LookupActDetail, MarkActDetail As EditText
I am using: B4X: File.WriteString(File.DirInternal,Filename, MarkActDetail) to write to a file When I read with: B4X: LookupActDetail.Text = File.ReadString(File.DirInternal,Filename) I get this in the editext box: B4X: android.widget.EditText@43c47f60 I know Filename is good I can Write and then Delete it with no errors. I have dim as this: B4X: Dim LookupActDetail, MarkActDetail As EditText
agraham Expert Licensed User Longtime User Jan 25, 2011 #2 You have omitted the Text property so Basic4android is converting the control to its text representation. File.WriteString(File.DirInternal,Filename, MarkActDetail.Text) Upvote 0
You have omitted the Text property so Basic4android is converting the control to its text representation. File.WriteString(File.DirInternal,Filename, MarkActDetail.Text)
M mramos Member Licensed User Longtime User Jan 25, 2011 #3 agraham said: You have omitted the Text property so Basic4android is converting the control to its text representation. File.WriteString(File.DirInternal,Filename, MarkActDetail.Text) Click to expand... That did the trick.. Program is done. Thanks for the help. Still learning here. Upvote 0
agraham said: You have omitted the Text property so Basic4android is converting the control to its text representation. File.WriteString(File.DirInternal,Filename, MarkActDetail.Text) Click to expand... That did the trick.. Program is done. Thanks for the help. Still learning here.