Re: [NTLK] Help with Newtonscript

From: Eckhart Köppen (eck1001_at_gmx.net)
Date: Wed Jun 04 2003 - 10:32:10 PDT


On Wed, 4 Jun 2003 01:22:53 -0500, Michael Burks wrote:
> I'm trying to open a protoFloatNGo that is a
> linked subview to my main app. I want to change the protoStaticText on the
> floatNGo to a variable declared in my main app. But, I can't do it, I can't
> seem to use GetVariable to do it, I even thought, hey, why shouldn't I just
> give up.

When you use linked subviews, make sure that you give them a name and
declare them to their parent view (which also needs a name then).
Declaring and naming is under "Browser / Template Info". Check chapter
3 and the appendix of the NPG for more background information on this.

After you have declared your linked subview to the parent view, you can
access it via its name, just like any other variable of the parent view.

I again strongly recommend reading "Programming for the Newton" and the
Newton Programmer's Guide. They cover 95% of the things you need to
know.

Eckhart

-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
List FAQ/Etiquette/Terms: http://www.newtontalk.net/faq.html
Official Newton FAQ: http://www.chuma.org/newton/faq/


This archive was generated by hypermail 2.1.5 : Fri Jun 06 2003 - 08:25:16 PDT