On Sun, 2 Jan 2000, Rob Pitt wrote:

> Sometime just after XMas Rob Pitt wrote:
> 
> >>Can you try the following in 2.3
> >>a) create a *new* stack "aa" with one cd fld "A"
> >>b) use the message box to send the following message:
> >>set the myindex ["Pitt"] of card fld "A" of cd 1 of stack "aa" to "Rob"
> 
> >>I have now done this several times over several days in 2.2 and 2.3. In 2.2
> >>, doing (b) above and clicking the custom properties button under "Extras"
> >>of the cd fld "A" pop up displays the custom property myindex[Pitt] on the
> >>left and "Rob" on the right just like it should and always has. Under 2.3,
> >>there is nothing in either window and "get the customKeys["myIndex"] of
> >>card "A"" returns a no object execution error. There is no question of an
> >>existing variable because these are new stacks.
> >>What am I doing wrong??
> 
> 
> With remarkable clarity of thought given the season Tuviah replied:
> 
> >You stated that the custom property of cd field "a" is set. However your
> >above example shows that your calling
> >get the customKeys["myIndex"] of card "A"
> >instead of
> >get the customKeys["myIndex"] of card field "A"
> 
> 
> Almost recovered from NY celebrations Rob responds:
> 
> Thanks Tuviah - no wonder they call it the 'silly season'. I can now see
> that custom properties are working in 2.3. However, without trying to
> justify my coding error above, my original problem remains. In 2.3, when I
> click the custom property button under "Extras" of the cd fld "A" pop up,
> there is nothing in either window. Because I am indexing hundreds of cards
> with a rather complicated routine that rejects duplicate words on the same
> card etc etc it is usefull to to be able to check what's ging on.

The custom properties dialog doesn't yet handle custom property sets.

> Any idea how to get the custom property elements to display like they did
> in 2.2?

You can work around this in the short term with something like:
set the customPropertySet of card "A" to "myindex"
-- open the properties dialog and poke around if needed
set the customPropertySet of card "A" to empty

They still won't display exactly as before, because the array name
isn't included in the property names field like it used to be.  But
access is faster and storage is much more efficient (which is why it
was changed).
  Regards,
    Scott

> Rob Pitt
> 
> 
> 
> This is the MetaCard mailing list.
> Archives: http://www.mail-archive.com/metacard%40lists.best.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> 

********************************************************
Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...


This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm

Reply via email to