[futurebasic] Re: [FB] Window Islands

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 1999 : Group Archive : Group : All Groups

From: Chris <behmc@...>
Date: Tue, 31 Aug 1999 18:40:48 -0400
On 8/31/99 at 6:08 PM, MCB1985@... wrote:

> Hello everyone...
> 
> I still consider myself a beginner, and this seems like a simple question, 
> but I can't figure it out. Maybe somebody can help.
> 
> I have two windows being used in the program. The one in the background has 
> an edit field. I need to get text from that edit field that is in the 
> background. Is there a way to get that info from the Window 1 without making 
> it active? I've just tried doing...
> 
> 'window 2 is active
> WINDOW 1
> txt$ = EDIT$(1)
> WINDOW 2
> PRINT txt$
> 
> But this looks incredibly stupid, since the windows flip by each other and 
> switch, even though it is quickly... theres gotta be a way, right?
> 
> I know I could use WINDOW OUTPUT 1 to print to the window that is not active, 
> but is there something like WINDOW INPUT 1 to take info from the edit field 
> in the non-active field?
> 
> Thanks,
> -Mark
> 

You can switch the output window which SHOULD switch where you can take stuff
from.

(Warning, inexact syntax to follow)

WINDOW OUTPUT 1
txt$ = EDIT$(1)
WINDOW OUTPUT 2
PRINT txt$

HTH,
Chris