logo       

Re: Textchange event & f.CreateTextFile: msg#03000

lang.realbasic.user

Subject: Re: Textchange event & f.CreateTextFile

On 31/01/2004, at 8:42 AM, Brian Heibert wrote:

I have a edit field that is called SerialNo

I have this code in the TextChange event:
<snip>
f.CreateTextFile As TextOutputStream
f.AppendToTextFile "PTM-012"
------------------------^^^^^^^^^^^^^^^^^^^^^

There's a problem, this should probably read:

stream = f.CreateTextFile()
stream.WriteLine "PTM-012"

That way you're using the value returned by the CreateTextFile() method.


HTH,
Josh

--
JoshuaHawcroft.com - Supporting the Macintosh with Quality Software!
http://www.joshuahawcroft.com/


- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise