Re: Message box failure in 10.0.0?

2022-02-21 Thread Paul Dupuis via use-livecode
We're tracking down a Big Sur "bug/feature" that I don't have a recipe stack for yet, but I'll explains as it *might* be related? We've found that if a stack is internal to the .app under Big Sur (and presumably Monterey) that has a video player, the video in the player plays and pauses

Re: resetall?

2022-02-21 Thread Mark Waddingham via use-livecode
On 2022-02-21 18:09, Mark Wieder via use-livecode wrote: On 2/21/22 08:57, Mark Waddingham via use-livecode wrote: If you want to brute force close all sockets then I suggest:     repeat for each line i in the openSockets   close socket i     end repeat :) Yeah, that's what I'm

Re: resetall?

2022-02-21 Thread Mark Wieder via use-livecode
On 2/21/22 08:57, Mark Waddingham via use-livecode wrote: If you want to brute force close all sockets then I suggest:     repeat for each line i in the openSockets   close socket i     end repeat :) Yeah, that's what I'm doing now since resetall doesn't do anything useful.

Loading a LONG list with images

2022-02-21 Thread Dan Friedman via use-livecode
Does anyone have any answers to the issue of loading a long list with images so that it loads images "as needed" like a webpage does. I have a DataGrid with several hundred rows. Each row has a specific image that is to be displayed with that row (like a list of songs). The image is loaded

Re: Loading a LONG list with images

2022-02-21 Thread Richard Gaskin via use-livecode
How many images? I once made a solution for 3,000 images, but it may not scale well above 8,000 or so depending on memory and connection speed. -- Richard Gaskin Fourth World Systems Dan Friedman wrote: > Does anyone have any answers to the issue of loading a long list with > images so

Re: Loading a LONG list with images

2022-02-21 Thread Dan Friedman via use-livecode
Tom, Yes, assuming that is a DG in your video, that's just what I'm looking to do! -Dan On 2/21/22, 3:22 PM, "use-livecode on behalf of Tom Glod via use-livecode" wrote: Dan can you check this video and the pixabay search example? https://youtu.be/jN2bQbhQ0L8?t=216 Is this

Re: Message box failure in 10.0.0?

2022-02-21 Thread J. Landman Gay via use-livecode
Probably not related, none of my test stacks call out to external files. I relaunched LC 10.0.0 and everthing works again. The only difference is that I closed the App Overview before quitting and then reopened it manually after the new launch. I don't know if that made the difference, or if

Re: resetall?

2022-02-21 Thread Mark Wieder via use-livecode
On 2/21/22 10:37, Mark Waddingham via use-livecode wrote: Put another way - if you have done 'close socket i', then it is then it should be logically impossible for i to be in the openSockets immediately afterwards. Ah. Sorry - after issuing a closeSocket call the socket does *not* appear

Re: Loading a LONG list with images

2022-02-21 Thread Dan Friedman via use-livecode
Richard, Probably not over a couple thousand. The images are square -- they need to be resized to the DG template image size, but not scaled (H vs W). -Dan On 2/21/22, 12:14 PM, "use-livecode on behalf of Richard Gaskin via use-livecode" wrote: How many images? I once made a

Re: [ANN] Release 10.0.0 DP-2

2022-02-21 Thread Richard Gaskin via use-livecode
Pi Digital wrote: > It’s so frustrating because I just spent the last week making my own > widget to make bar and pi charts. LOL! Now it feels like a futile > gesture with something far superior ‘just around the corner’. Your > teams have done a really good job of making them. > > I’ll get back

Re: Loading a LONG list with images

2022-02-21 Thread Tom Glod via use-livecode
Dan can you check this video and the pixabay search example? https://youtu.be/jN2bQbhQ0L8?t=216 Is this what you have in mind? These images are loaded as the row comes into view. On Mon, Feb 21, 2022 at 6:07 PM Dan Friedman via use-livecode < use-livecode@lists.runrev.com> wrote: > Richard, > >

Re: resetall?

2022-02-21 Thread Mark Waddingham via use-livecode
On 2022-02-21 16:51, Mark Wieder via use-livecode wrote: Before I report this one... I thought resetall was supposed to close open sockets. There's even a warning in the docs about it being a brute force close. But it doesn't seem to do anything useful. Am I missing something? Its a synonym

resetall?

2022-02-21 Thread Mark Wieder via use-livecode
Before I report this one... I thought resetall was supposed to close open sockets. There's even a warning in the docs about it being a brute force close. But it doesn't seem to do anything useful. Am I missing something? -- Mark Wieder ahsoftw...@gmail.com

Re: Loading a LONG list with images

2022-02-21 Thread Tom Glod via use-livecode
This is how i did it . I hope this helps. First to use the "numberofrecords" way of setting the datagrid data. This is key, that way you only ever trigger loading of visible rows. This is the code from my dg column. global PixabayResults if PixabayResults["cache"]["DL:" &

Re: Loading a LONG list with images

2022-02-21 Thread Tom Glod via use-livecode
notice the use of send "" in 0 milliseconds... This ensures that the rendering of the grid does not get held up by the download. so the download happens in the background. On Mon, Feb 21, 2022 at 6:47 PM Tom Glod wrote: > This is how i did it . I hope this helps. > > First to use the