[NTLK] ProtoGlance - how to get it to work?
mm at matthiasm.com
Tue Jan 18 16:22:15 PST 2022
> On 18. Jan 2022, at 23:45, Chris Rupnik <chris.rupnik at gmail.com> wrote:
> Hi Mathias
> Thank you for taking the time to look at this for me. Sadly - even your suggestion doesn’t seem to work for me. Whereas the package complies fine - when you actually hit the button on either an einstein newton or emate300 - i get the error -48809 “Sorry a problem has occurred”
> I do notice in your listing you have StepDeclare() sections - which are not present in my example. Are these required? If so - how do you add them to a project?
In NTK, you select the menu item "Template Info" in the "Browser" menu. If you give the view a name and the top view as well, you can check teh "Declare To" box and select the paren.
And yes, it is needed. When the app is opened, all views that are in step forms are cloned into main form by AddStepForm. StepDeclare then makes the Glance visible as a named slot in the main form.
More information about the NewtonTalk