SOLVED: Groups disappearing when I move to another card

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
dochawk
Posts: 43
Joined: Wed Sep 02, 2009 9:29 pm

SOLVED: Groups disappearing when I move to another card

Post by dochawk » Wed May 23, 2012 6:56 pm

OK, another flash of insight solved this after banging against it for a while, see below.

I have my scripts successfully copying header and footer information from another card and copying the contents (each is in a group), and then adding some rows and populating them with database information.

I place the row (a group with several fields) by copy from a parts substack, populate it, and then see if there's really room. If not, I cut that group (and it disappears while the prior rows remain), creat another card, give it headers and footers, and paste (and relocate) my row.

When I don't cross a page boundary like this, all works properly. Also, the second page works correctly.

When I return to the first page, however, the header group is there, but the row and footer groups are gone

On a hunch, I tried adding a "save this stack" before the new page was created, but no such luck.

more poking around from the message box shows that the groups still seem to exist, but group 3 (the first row) now has a size of 8x8, and has moved so that its leftmargin is now about where its rightmargin was. Also, although I can still select it, it seems that its elements are gone.

What is going on?

thanks

hawk

SOLUTION: "Behave like a background" was set, and it shouldn't have been.

Post Reply