Search found 843 matches

by Simon Knight
Sat Oct 14, 2023 6:48 pm
Forum: Talking LiveCode
Topic: How does a datagrid achieve almost unlimited rows?
Replies: 24
Views: 54880

Re: How does a datagrid achieve almost unlimited rows?

stam wrote:
Sat Oct 14, 2023 6:45 pm
I'm running this in 9.6.10 - maybe try that
Who knew? The auto check for updates is no longer working. Manual download underway.
by Simon Knight
Sat Oct 14, 2023 6:43 pm
Forum: Talking LiveCode
Topic: How does a datagrid achieve almost unlimited rows?
Replies: 24
Views: 54880

Re: How does a datagrid achieve almost unlimited rows?

FYI: Here is a comparison of Datagrid <-> PolyGrid in a LC blog https://livecode.com/datagrid-vs-polygrid-head-to-head/ Thanks for the link, its amazing how a non-programmer can build that list, I doubt I can do it. As Stam writes all these new plugins/externals suffer with an unforgivable lack of ...
by Simon Knight
Sat Oct 14, 2023 6:33 pm
Forum: Talking LiveCode
Topic: How does a datagrid achieve almost unlimited rows?
Replies: 24
Views: 54880

Re: How does a datagrid achieve almost unlimited rows?

Something odd happening here. In version 10 DP 4 the stack loads with no errors but it does nothing.

Trying with version 9.6.8 throws this error :
Screenshot 2023-10-14 at 18.28.44.png
Error message posted LC v9.6.8
I take it that it is a path issue given I have no drive D:
by Simon Knight
Sat Oct 14, 2023 6:21 pm
Forum: Talking LiveCode
Topic: How does a datagrid achieve almost unlimited rows?
Replies: 24
Views: 54880

Re: How does a datagrid achieve almost unlimited rows?

Unfortunately your last demo stack does not display any images in the polylist. The data is being set but there are no items set. Given I have never looked at the polylist before I'm failing to get it to work.
by Simon Knight
Sat Oct 14, 2023 3:39 pm
Forum: Talking LiveCode
Topic: How does a datagrid achieve almost unlimited rows?
Replies: 24
Views: 54880

Re: How does a datagrid achieve almost unlimited rows?

I wonder if either of you would use a data/polygrid to display a true grid of image thumbnails in the way of most image cataloging programs. I can imagine its quite possible to populate a datagrid form with multiple thumbnails per row but imagine that drag drop reordering would be difficult.
by Simon Knight
Sat Oct 14, 2023 10:19 am
Forum: Talking LiveCode
Topic: How does a datagrid achieve almost unlimited rows?
Replies: 24
Views: 54880

Re: How does a datagrid achieve almost unlimited rows?

Just tried the polygrid. Very simple to set up and similar scroll performance to a datagrid. Both the datagrid and the polygrid benefit from being supplied with smaller thumbnail images. Surprise surprise feeding both of them both with thumbnails improves the scrolling removing the stutter previousl...
by Simon Knight
Sat Oct 14, 2023 3:09 am
Forum: Talking LiveCode
Topic: How does a datagrid achieve almost unlimited rows?
Replies: 24
Views: 54880

Re: How does a datagrid achieve almost unlimited rows?

paul@researchware.com wrote:
Fri Oct 13, 2023 10:07 pm
I have found the polygrid widget to be easier to use than the datagrid
I have not tried using the polygrid but will have a go as it sounds interesting.
by Simon Knight
Fri Oct 13, 2023 9:06 pm
Forum: Talking LiveCode
Topic: How does a datagrid achieve almost unlimited rows?
Replies: 24
Views: 54880

Re: How does a datagrid achieve almost unlimited rows?

But do you need it? Does the user need to see all those records at the same time? Is this an opportunity waiting to be discovered for simplifying record selection? The simple answer is no, this app does not need to display more than the 149 odd records it can presently display. The final output are...
by Simon Knight
Fri Oct 13, 2023 6:14 pm
Forum: Talking LiveCode
Topic: Datagrid form slow data load time
Replies: 10
Views: 9014

Re: Datagrid form slow data load time

I think we are probably both correct in that rescaling a large image takes time and I'm guessing it occurs when needed i.e. when the scroll bar is moved.
I presume you read the property dgVScroll of the data grid?
Yes by intercepting the scrollbarDrag message
by Simon Knight
Fri Oct 13, 2023 6:08 pm
Forum: Talking LiveCode
Topic: How does a datagrid achieve almost unlimited rows?
Replies: 24
Views: 54880

Re: How does a datagrid achieve almost unlimited rows?

Hi Paul, I think you are correct as looking at a form displaying a number of image thumbnails its possible to see it stutter when being scrolled. My guess is that the stutter is caused when new rows are added just out of view and other rows are deleted from the "end" opposite to the direction of scr...
by Simon Knight
Fri Oct 13, 2023 9:41 am
Forum: Talking LiveCode
Topic: Datagrid form slow data load time
Replies: 10
Views: 9014

Re: Datagrid form slow data load time

It appears that the slight stutter may be related to the scroll bar. I state this because I can make it worse by intercepting the ScrollBarDrag message and reading its value. Interestingly (well to me!) is that when displaying 500 thumbnails the final scrollbar position is 99207. I have no proof but...
by Simon Knight
Thu Oct 12, 2023 7:33 pm
Forum: Talking LiveCode
Topic: How does a datagrid achieve almost unlimited rows?
Replies: 24
Views: 54880

How does a datagrid achieve almost unlimited rows?

The background to this question is that I have a stack that uses a group to display and scroll a virtual column of custom controls. When data is loaded into the group a template is copied to a new X Y coordinate. This works well but suffers from the situation where the nth custom control has its Y c...
by Simon Knight
Thu Oct 12, 2023 7:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Shape Up
Replies: 1
Views: 1006

Re: Shape Up

? https://www.thenational.scot/news/16200 ... -sausages/

When is a sausage not a sausage ?
by Simon Knight
Thu Oct 12, 2023 10:48 am
Forum: Talking LiveCode
Topic: Continue to use Livecode ?
Replies: 30
Views: 14975

Re: Continue to use Livecode ?

Why does this seem like a bargain if you do not know what you are getting for your money? As Stam has already stated: whatever Panorama X is it offers a cheap way of finding out: To start the 7 day free trial, simply download and copy to the Applications folder. You don't need to give us a credit c...
by Simon Knight
Thu Oct 12, 2023 6:22 am
Forum: Talking LiveCode
Topic: Datagrid form slow data load time
Replies: 10
Views: 9014

Re: Datagrid form slow data load time

Just discovered the following tutorial : https://livecode-lessons-copy.screenstepslive.com/m/2592/l/19174-image-viewer One interesting point that I learnt from the tutorial is that rescaling an image does not reduce the size of the data, meaning that a rescaled 20Mbyte image is still 20Mbytes. To cr...

Go to advanced search