Re: Livecode performance problem

2022-08-21 Thread Richard Gaskin via use-livecode
Paul Dupuis wrote: > For strange legacy application reasons, when lines get added to the > set of fields (a frequency action by users - sometimes adding hundreds > of lines a day), the data has to be repackaged into this tab delimited > structure in a single variable to run some procedures on. >

Re: Livecode Builder -how t write to a file?

2022-08-21 Thread zryip theSlug via use-livecode
Dear Matthias, I do not have the answer but a possible workaround. For debugging purposes I'm using the post message. In LCB add this handler: private handler throwWidgetError(in pError as String) returns nothing post "catchWidgetError" with [pError] end handler Call it by using: throwWidget

Re: Livecode performance problem

2022-08-21 Thread Mark Smith via use-livecode
Wow, what a great example. I decided to work through the various suggestions just so I could get a better grip on some of LC’s more sophisticated data handling commands. My original run using Paul’s example was 8 seconds (2000 lines per field, 1100 chars per line) Applying Brian’s simple sugge

Re: addIcon issue

2022-08-21 Thread Mike Kerner via use-livecode
thanks, brian, i'll have a look. i was reading through the library and the filter code. ralph proposed adding a family menu (or a means for either specifying the family or showing all families) to the filter. i think that would be a good idea. On Sun, Aug 21, 2022 at 2:42 PM Brian Milby via use-li

Livecode Builder -how t write to a file?

2022-08-21 Thread matthias rebbe via use-livecode
Hi. >From time to time and when time allows i am trying to get used to with >Livecode Builder. For debugging i would like my lcb script to write some debug code to a file, but i really do not see how this can be done. I found the experimental com.livecode.file module and the operator 'the file

Re: addIcon issue

2022-08-21 Thread Brian Milby via use-livecode
Have you looked at SVG Icon Tool (Sample Stacks)? It can help manage icon families. You should be able to set the icon using just the short name. The icon svg library will check the current library first and then cycle through all loaded families looking for a match. If there is a collision

Re: addIcon issue

2022-08-21 Thread Mike Kerner via use-livecode
reading through the library, it appears that you are correct - you cannot add to the default family. changing the family using setCurrentIconFamily("custom") does cause the picker to show those icons. if i want to select one for assignment to a widget, is that the only way to do it? entering custom

Re: addIcon issue

2022-08-21 Thread J. Landman Gay via use-livecode
I don't think you can add to the default icon family. The docs say that if you haven't specified a family then the icon goes into one named "custom". So see what you get when you run iconFamilies() and if "custom" is in there then set the family using setCurrentIconFamily("custom"). If you pre

Re: A few issues with web apps

2022-08-21 Thread William Prothero via use-livecode
Jacqueline, Thanks for the great status report on Livecode web deployment. From my perspective, it's finally starting to look promising. The first thing I noticed was the speed of bringing up the first page. I'm looking forward to working with the web deployment when it gets far enough in its de

powerbutton (megabundle) is FUN

2022-08-21 Thread Mike Kerner via use-livecode
I bought the megabundle, unsure what to expect from the stuff that comes with it. polylist/polygrid look like they are going to be great. as a tmControls nerd, i'm spoiled for gret-looking buttons with more options to customize them and get them to do all sorts of marvelous things. i think i'm abou

addIcon issue

2022-08-21 Thread Mike Kerner via use-livecode
I have an svg widget that draws correctly, so I'm trying to add it to the library, but addIcon does not seem to be working. After calling addIcon, I try to search for the icon, but it does not appear in the icon picker, and adding it by name does not work, either. Here's the line: get addIcon("test