Adding lib as sub stack of main stack for revlet

If you have any questions regarding Quartam PDF Library for LiveCode, this is the place to get answers from your fellow users - experts and newbies alike.
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
jharris
Posts:5
Joined:Wed Feb 09, 2011 3:20 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Adding lib as sub stack of main stack for revlet

Post by jharris » Wed Aug 03, 2011 10:33 pm

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

JanSchenkel
Site Admin
Posts:110
Joined:Sun Jul 18, 2010 5:21 pm
Location:Aalst, Belgium
Contact:

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

Post by JanSchenkel » Thu Aug 04, 2011 5:20 am

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.
Quartam Developer Tools for LiveCode
http://www.quartam.com

jharris
Posts:5
Joined:Wed Feb 09, 2011 3:20 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

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

Post by jharris » Thu Aug 04, 2011 11:32 am

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

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable