[futurebasic] Re: [FB] Print text in a window the user created

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2006 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Wed, 28 Jun 2006 12:25:40 +1200
  Brian Heibert wrote:

> I have this local fn to parse my edit field
> See below
> and I have this
> case "PRINT"
> WINDOW #id
> PRINT restOfCommand$
> but it doesn't print the text the user types into the window the user 
> created
> how do I fix this?

The 'window' and 'window output' statements set the output window to id.
When your loop comes round again to
    lineStr = edit$( efID, i )
it is expecting an edit field in the current output window, which is 
now not the original window.

Robert P.