Group object limit.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Group object limit.
Hello there livecode ppl, i'm having a strange issue, whenever a group reaches about 2397 items in it the scrollBar dosent work anymore, it apears but its scrollabe only for the first 10 items. i'm not sure if its the length of the group or anything else....
Knowledge is meant to be shared.
-
- VIP Livecode Opensource Backer
- Posts: 10058
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Group object limit.
It's probably the geometric space rather than the number of objects. LiveCode groups are currently limited to a formattedWidth and formattedHeight of 36,767 pixels.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Group object limit.
Richard.
32,768?
Craig
32,768?
Craig
-
- VIP Livecode Opensource Backer
- Posts: 10058
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Group object limit.
Thanks, Craig. Distracted, frustrating day today (power outage), so serious brain misfire. You're right; I've edited my post to reflect reality. 

Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Group object limit.
You are lucky your power outages are only on your grid. Mine are in my head.
Craig
Craig
Re: Group object limit.
Thank you guys, so it's the formattedHeight that limits me to 36,767 pixels, is there any way to overcome this?
Knowledge is meant to be shared.
Re: Group object limit.
Hi.
Can you hold all your data in a custom property and load only the "page" that you need? This is not hard to manage, but write back if you need advice.
Craig
Can you hold all your data in a custom property and load only the "page" that you need? This is not hard to manage, but write back if you need advice.
Craig
-
- VIP Livecode Opensource Backer
- Posts: 10058
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Group object limit.
The DataGrid object is quite flexible and does as Craig describes, allowing an almost limitless number of records by paging in only this which can actually be displayed at any given time.
If the DataGrid isn't a good fit for your layout it would be helpful to know more about what you're looking for so we can provide useful guidance.
If the DataGrid isn't a good fit for your layout it would be helpful to know more about what you're looking for so we can provide useful guidance.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Group object limit.
Thank you for your quick answers guys, well to start with take a look at the screen i attached, is this outcome possible with datagrid? i mean the group at the middle(see the scrollbar).
By the way this isn't a major problem since it occurs only when i load ALL the data inside the group, which is allot, but still i'd like to be able to load all of it.
By the way this isn't a major problem since it occurs only when i load ALL the data inside the group, which is allot, but still i'd like to be able to load all of it.
Knowledge is meant to be shared.
Re: Group object limit.
i guess i could just split the data and add a See More button at the end of the group...
Knowledge is meant to be shared.
Re: Group object limit.
If dataGrid is capable of holding Fields and Graphics it would be a good choice, also can i make a dataGrid with invisible rows/columns?
Knowledge is meant to be shared.
Re: Group object limit.
The program in the picture is an Internet Cafe Menu software by the way. Nothing illegal.I'm about to get done with it and that custom properties advice actually helped me clean up the code allot.Still waiting for some advice with the datagrid
Knowledge is meant to be shared.
Re: Group object limit.
Hi zaxos,
I had a similar problem with an image collection (3340 png files)
I use a group of 20 groups (one grc, one img, one fld for title) and refresh them with other filename when you clic on a btn prev/next page
Of course you can't do a swip of the group but you can go to prev/next page with an horizontal drag.
Best regards
Jean-Marc
I had a similar problem with an image collection (3340 png files)
I use a group of 20 groups (one grc, one img, one fld for title) and refresh them with other filename when you clic on a btn prev/next page
Of course you can't do a swip of the group but you can go to prev/next page with an horizontal drag.
Best regards
Jean-Marc
https://alternatic.ch