Page 1 of 1

Adding lib as sub stack of main stack for revlet

Posted: Wed Aug 03, 2011 10:33 pm
by jharris
Hello,

I am trying to use Quartam PDF Library with a revlet. I have been trying to add the library as a sub stack of my main stack, but it always fails.

The way I have been doing it:

1. Open my main stack.
2. Open the qrtpdflib.
3. Open the qrtpdflib properties.
4. For "Main stack" select my main stack in the drop down.

If I close LiveCode and open the main stack again... open the application browser...
qrtpdflib is gone.

Is this the correct procedure or could you offer some advice on adding it as a sub stack?

I am sure I am doing something wrong, but can't figure it out.

Thanks,
JHarris

Re: Adding lib as sub stack of main stack for revlet

Posted: Thu Aug 04, 2011 5:20 am
by JanSchenkel
You can't make mainstack A the substack of another mainstack B, if mainstack A itself still has some substacks of its own. You'll first have to spin off the two substacks 'qrtPDFDemos' and 'qrtPDFHelp' as mainstacks of their own, and then you can add 'qrtPDFlib' as substack to the stack from which you'll build the revlet.

Just one of those quirks of the LiveCode IDE that this fails silently.

Cheers,

Jan Schenkel.

Re: Adding lib as sub stack of main stack for revlet

Posted: Thu Aug 04, 2011 11:32 am
by jharris
Hmm... I doubt I would have figured that out, at least not any time soon.
Thanks so much for the help Jan! I will give that a try.

Regards,
JHarris