Re: [NTLK] Newtonscript and PopInPlace

From: Laurent Daudelin (laurent_daudelin_at_fanniemae.com)
Date: Wed Jun 19 2002 - 13:15:00 EDT


On 19/06/02 12:10, "Matthew Robinson" <matthew_at_crescent.org.uk> wrote:

> Hi all,
> Started to dabble in Newtonscript. I've run into a little problem and I can't
> see what I need to do.
>
> I'm building, or trying to, an app to some very simple convertion.
>
> I have a newtApplication with two PopInPlace buttons. What I want to happen is
> when the value of one button the other button should change as well.
>
> In the PickActionScript I have:
>
> SetValue(bits, 'text, "boo")
>
> where "bits" is the named protoPopInPlace for the other button.
>
> What am I doing wrong? If I'm on the wrong list please point/shove me towards
> the right one!

There might be another method to set the value of a protoPopInPlace label,
or you might have to set a specific slot of the protoPopInPlace. Something
like SetValue(bits.label, 'text, "boo"). Check the doc.

-Laurent.

-- 
=====================================================================
Laurent Daudelin              Developer, Multifamily, ESO, Fannie Mae
mailto:Laurent_Daudelin_at_fanniemae.com             Washington, DC, USA
********************** Usual disclaimers apply **********************
firebottle n.obs.: A large, primitive, power-hungry active electrical
device, similar in function to a FET but constructed out of glass, metal,
and vacuum. Characterized by high cost, low density, low reliability,
high-temperature operation, and high power dissipation. Sometimes mistakenly
called a `tube' in the U.S. or a `valve' in England; another hackish term is
glassfet. 

-- Read the List FAQ/Etiquette: http://www.newtontalk.net/faq.html Read the Newton FAQ: http://www.guns-media.com/mirrors/newton/faq/ This is the NewtonTalk mailing list - http://www.newtontalk.net



This archive was generated by hypermail 2.1.2 : Wed Jul 03 2002 - 14:02:33 EDT