swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Geometry Archiving still not working the way a I wish


From: Paul E. Johnson
Subject: Re: Geometry Archiving still not working the way a I wish
Date: Fri, 05 Feb 1999 17:32:59 -0600

"Marcus G. Daniels" wrote:
> 
> >>>>> "PJ" == Paul E Johnson <address@hidden> writes:
> 
> PJ> sprintf(rasterName,"PolicySpace%02d",i);
> PJ> policyRaster = [WhiteRaster create: [self getZone]];
> PJ> [policyRaster setSpaceNumber: i];
> PJ> [policyRaster setWindowTitle: rasterName];
> PJ> [policyRaster setWindowGeometryRecordName: strdup (rasterName)];
> 
> setWindowGeometryRecordName: is a create-time option.

Ok, that got it. Just in case future archaeologists come along and need
to know how to make this work, you have to make a create sandwich like
this:

 sprintf(rasterName,"PolicySpace%02d",i);
   policyRaster = [WhiteRaster createBegin: [self getZone]];
   [policyRaster setSpaceNumber: i];
   [policyRaster setWindowTitle: strdup (rasterName)];
   [policyRaster setWindowGeometryRecordName: strdup (rasterName) ];
   policyRaster = [policyRaster createEnd];


-- 
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
University of Kansas                  Office: (913) 864-9086
Lawrence, Kansas 66045                FAX: (913) 864-5700

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]