[comp.sys.mac.hypercard] Sharedtext Shenanigans

dmittman@beowulf.JPL.NASA.GOV (David Mittman) (12/01/90)

I am working with a stack of cards which has a background field of
keywords. I am using the sharedText portion of the field for a
list of all currently defined keywords, and the non-sharedText
portion of the field for the keywords being used on a particular
card. I can get either field contents by doing something like:

set the sharedText of bg fld "Keyword" to true
get bg fld "Keyword"

I would like to be able to get the contents of the sharedText=true
portion of the field without actually changing the sharedText
attribute. If this were possible, I wouldn't have to go through
the trouble of locking the screen during the change. Any ideas?

				- David Mittman
				DMittman@Beowulf.JPL.NASA.GOV

Jim.Russell@f421.n109.z1.fidonet.org (Jim Russell) (12/06/90)

I'm fascinated that you discovered that there was an ability to keep 
both a shared and card specific field contents -- I don't recall seeing 
any documentation that promised that HC would preserve residual text 
when the shared text attribute of the field changed.  
  Any reason why you could not accomplish the same thing with a second 
field, overlaying them and changing the visible attribute if you have to 
be able to show the user either?


--  

   	Jim Russell, Jim.Russell@f421.n109.z1.fidonet.org
   	via The Black Cat's Shack's FidoNet<->Usenet Gateway
	    blkcat.fidonet.org   and   Fidonet 1:109/401