Groups and backgrounds

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Judson
Posts: 26
Joined: Fri May 07, 2010 9:15 pm

Groups and backgrounds

Post by Judson » Sat Jul 31, 2010 9:13 pm

Why is it that "put the number of backgrounds in this stack" is 11
But "put the number of groups in this stack" is 1
?
How can there be more backgrounds than groups?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Groups and backgrounds

Post by Mark » Sat Jul 31, 2010 11:08 pm

Judson,

The number of backgrounds returns the number of groups in the entire stack while the number of groups returns the number of groups on the current cards.

Best regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Judson
Posts: 26
Joined: Fri May 07, 2010 9:15 pm

Re: Groups and backgrounds

Post by Judson » Sat Jul 31, 2010 11:35 pm

Is there a way to track all these errant backgrounds/groups down?

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Re: Groups and backgrounds

Post by Janschenkel » Sun Aug 01, 2010 7:06 am

Did you use the Database Query Builder in your stack? These queries are stored as invisible background groups that aren't placed on any of the cards.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Groups and backgrounds

Post by Mark » Sun Aug 01, 2010 11:14 am

Judson,

Look in the Place Group submenu for groups that are not placed on the current card.

You could write a simple script to retrieve information about all groups in a particular stack.

Are you having a specific problem with groups/backgrounds or are you just curious why there appear to me more backgrounds than groups in your stack?

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply