[futurebasic] Still having trouble with GLOBALTOLOCAL

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

From: Mark Goodes <mgoodes@...>
Date: Tue, 07 Sep 1999 20:13:57 -0500
I'd like to accomplish a simple task:

1.  Set and paint rectangle in the current port.
2.  Change the port to the desktop port (cwmgrport)
3.  Paint the rectangle in exactly the same place that it originally
was.

To do this, I tried using the following intermediate steps:
1.  Set and paint rectangle in the current port.
1a.  Call LOCALTOGLOBAL on the rectangle's coordinates.
2.  Change the port to the desktop port (cwmgrport)
2b.  Call GLOBALTOLOCAL on the rectangle's coordinates.
3.  Paint the rectangle in exactly the same place that it originally
was.

But the rectangle just won't go where I want it to go.  Anyone know how
to do this properly?

Mark