Search found 133 matches

by strongbow
Sat Apr 19, 2025 10:27 am
Forum: Android Deployment
Topic: Determining Matching Words In A String.
Replies: 11
Views: 53860

Re: Determining Matching Words In A String.

I modified your stack a little Stam to improve the speed a little using "repeat for each" with an index for the loop, and also break down the filter timing to get some info on how long split and filter take. Got the results below: loop found: 4000000 in 5419 milliseconds split took: 10471 millisecs ...
by strongbow
Thu Mar 06, 2025 1:25 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cell formatting in Table Field
Replies: 26
Views: 17121

Re: Cell formatting in Table Field

Time passes...

and I come to the party late. But to colorise cell 3 of row 2 of a table field, you can simply do:

set the itemDel to tab
set the backcolor of item 3 of line 2 of fld "dataset2" to red

cheers
by strongbow
Sat Feb 15, 2025 1:41 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Polygrid data corruption?
Replies: 9
Views: 11221

Re: Polygrid data corruption?

Couldn't see the data in the inspector.
Couldn't access either pgText nor pgData - errored out.

Haven't reported the error as haven't spent the time to reproduce in a shareable stack, unfortunately.
by strongbow
Fri Feb 14, 2025 9:01 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Polygrid data corruption?
Replies: 9
Views: 11221

Re: Polygrid data corruption?

Yeah, nice one. "a while ago" = 10 years.... How time flies.
by strongbow
Fri Feb 14, 2025 4:24 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Polygrid data corruption?
Replies: 9
Views: 11221

Re: Polygrid data corruption?

One of the annoying things with new controls is the plethora of options in a non-LC-code style. eg. we should be able to: sort control "pgControl" by column 2 numeric descending or something similar. Different control script interfaces leads to hard-to-use, unintuitive scripting. These are the types...
by strongbow
Thu Feb 13, 2025 11:28 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Polygrid data corruption?
Replies: 9
Views: 11221

Re: Polygrid data corruption?

Thanks but the problem with the data corruption is that I can't now actually access any of the data at all, even though it's visible in the PG. Weird. Luckily I had previously exported the data, so could reset the text to empty and import the saved data...

Might be time to revert to the DG...
by strongbow
Thu Feb 13, 2025 1:28 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Polygrid data corruption?
Replies: 9
Views: 11221

Polygrid data corruption?

Has anyone else seen data corruption when using the Polygrid when deleting/adding rows and/or modifying the columns? I had some weird issue with multiple new empty columns being added. After deleting these new columns I now can't seem to access the data or text of the polyGrid and just get errors su...
by strongbow
Wed Nov 27, 2024 12:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Accordion Functionality
Replies: 17
Views: 22793

Re: Accordion Functionality

If you can open more than one segment it becomes hard to know where the the accordion ends. To display different sets of controls in a segment I think the user would be more familiar with the tab-panel control. Easy to hide and show groups of controls for each tab. An accordion is more for informat...
by strongbow
Mon Nov 25, 2024 9:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Accordion Functionality
Replies: 17
Views: 22793

Re: Accordion Functionality

[quote=bn post_id=232624 time=1732545171 user_id=1486] ... So I decided to build one: https://forums.livecode.com/viewtopic.php?f=9&t=39452 Kind regards Bernd [/quote] Very nice Bernd, as usual, thanks! :-) Since you asked about other functionality...: 1. perhaps it'd be nice to be able to expand mo...
by strongbow
Mon Nov 11, 2024 12:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Accordion Functionality
Replies: 17
Views: 22793

Re: Accordion Functionality

Hmm, thanks Jacque, hadn't thought about styling the tree view, must have a look!

cheers!
by strongbow
Sun Nov 10, 2024 4:40 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Accordion Functionality
Replies: 17
Views: 22793

Re: Accordion Functionality

Has anyone seen this: https://livecode.com/elements-accordion/

and if/which LC version it might be in??

cheers
by strongbow
Thu Mar 30, 2023 12:03 am
Forum: Bug Triage
Topic: can't save stack - disk full?
Replies: 1
Views: 1675

Re: can't save stack - disk full?

Ok, the tree widget remains the problem - there was one that I hadn't cleared which I presume was causing the problem. So... if you get this error, try setting the arraydata of your tree widget(s) to empty and then try saving. I wonder what the data limit is for tree widgets and their serialisation?...
by strongbow
Wed Mar 29, 2023 5:42 am
Forum: Bug Triage
Topic: can't save stack - disk full?
Replies: 1
Views: 1675

can't save stack - disk full?

Hi all I am getting an error when attempting to save a stack as follows: Can't save stack <myStackName> due to an error: Error writing stack (disk full?) I have been working on this project for months and have occasionally seen this issue in the past, normally when I've attempted to save from a subs...
by strongbow
Wed Jul 13, 2022 7:12 am
Forum: Internet
Topic: Post Form Data to Browser Widget
Replies: 15
Views: 28231

Re: Post Form Data to Browser Widget

I also highly recommend using Postman to assist you in sorting out your problem. I found it invaluable for sorting out working with APIs.
by strongbow
Thu May 26, 2022 6:18 am
Forum: Android Deployment
Topic: Refresh A Browser Widget.
Replies: 4
Views: 10209

Re: Refresh A Browser Widget.

Probably because blah doesn't contain a URL.

You need to prepend something like "file:" to your variable "blah".