OK. OK, there are in LC practical limits to the number of controls on each card, as well as the number of cards, at least in terms of navigation. Nothing breaks, but it sure slows down.
I made a stack with two cards. On each I placed 2000 groups, each group containing one button and six fields with data. Navigation between the two cards took seven seconds. I then reduced the number of groups on each card to 1500. Navigation took just over two seconds. At 1000 groups, 1.5 seconds and at 500 groups about half a second, merely a noticeable delay. Recall that at 500 groups there are still 3500 controls. So the number of cards, as well as the number of controls greatly affects navigation speed, as well as tasks such as dragging a selected control around the card. Craig > On May 13, 2026, at 11:06 AM, Bob Sneidar via use-livecode > <[email protected]> wrote: > > Yes, I realized early on that I have to treat cards like web forms, loading > the data from a database of some sort as needed. > > Bob S > > >> On May 13, 2026, at 6:59 AM, Craig Newman via use-livecode >> <[email protected]> wrote: >> >> I have several HC stacks that are still in use in my business, and one of >> them has several thousand cards. No issues at all navigating among them. LC >> balks at about 2000. >> >> When I switched to LC I thought there was something wrong when I made stacks >> with thousands of cards and navigation was so slow. I solved that by using a >> single card and loading it with “each card’s” data as needed, that data >> stored in custom properties. >> >> On another similar note, there is no 30K textEdit limit that HC was bound >> by, which was a real pain. >> >> Anyway, you could do that as well. Substacks are meant to be used when each >> stack layout itself is different, not as a substitute for having two cards. >> >> Craig >> >> >> >>> On May 13, 2026, at 8:18 AM, Brian Milby via use-livecode >>> <[email protected]> wrote: >>> >>> Interestingly, that is the direction that Create is going to… each stack is >>> just a single card. >>> >>> Brian Milby >>> [email protected] >>> >>>> On May 13, 2026, at 2:41 AM, jbv via use-livecode >>>> <[email protected]> wrote: >>>> >>>> Finally, I found aworkaround: instead of a single stack with 2 cards, >>>> now I hhave >>>> - 1 main stack with 1 card >>>> - 1 sub-stack of the same size with 1 card. >>>> And instead of "go cd 2", I uuse >>>> hide main stack >>>> show substack >>>> >>>> With only 2 cards it's ok, but in a project with many cards and lots of >>>> controls on each card, replacing multiple cards with multiple substacks, >>>> I'm not sure... >>>> >>>> jbv >>> >>> _______________________________________________ >>> use-livecode mailing list >>> [email protected] >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> [email protected] >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
