Groups id #

2024-05-25 Thread jbv via use-livecode
Hi list, I have a script that creates groups on the fly with the command "group". These groups contain various flds and imgs. Can I always assume that the group with the highest id # is the last one created ? Thanks, jbv ___ use-livecode mailing list u

Re: Groups id #

2024-05-25 Thread Peter Bogdanoff via use-livecode
Last. "The last keyword <> can be used to specify any object <> whose number <> property <> is equal to the number of objects <> of that type. It can also be used to designate the last chunk <> in a chunk expression <>." > On May 25, 2024, at 10:20 AM, jbv via use-livecode > wrote: > > Hi lis

Re: Groups id #

2024-05-25 Thread Klaus major-k via use-livecode
Hi jbv, > Am 25.05.2024 um 16:20 schrieb jbv via use-livecode > : > > Hi list, > > I have a script that creates groups on the fly > with the command "group". These groups contain > various flds and imgs. > Can I always assume that the group with the highest > id # is the last one created ? sou

Re: Strange syntax in new widgets!?

2024-05-25 Thread Mike Kerner via use-livecode
a couple of notes on bob's comments: * the widgets were written by a third party using lcb. lc purchased the source. unfortunately, the source is closed, so your ability to improve them is limited. (then there's the whole matter of the property editor and property inspector not being documented, wh

Re: Strange syntax in new widgets!?

2024-05-25 Thread Klaus major-k via use-livecode
Hi Mike, > Am 25.05.2024 um 17:07 schrieb Mike Kerner via use-livecode > : > > a couple of notes on bob's comments: > * the widgets were written by a third party using lcb. lc purchased the > source. AHA! Well, that explains the "inconsistency" in the syntax. > unfortunately, the source is cl

Re: Return Total of a Given Repeated Number in a List

2024-05-25 Thread Mike Kerner via use-livecode
(to alex's question) > * quicken date shortcuts quicken has/had these very nifty ways of handling date inputs, to make entry faster. if you enter a numeral, like 26, it means that date of this month. similarly, month/date e.g. 5/25 is 5/25 of this year. "T" is today "+" to increment the date field

Re: Groups id #

2024-05-25 Thread Bob Sneidar via use-livecode
IDs are assigned according to the stack ID which increments by 1 every time an object is created. So yes, the stack ID is like an auto increment column in SQL. It assures that no two objects get the same ID, and the last object created is the highest ID in the stack. Sent from my iPhone > On

Re: Return Total of a Given Repeated Number in a List

2024-05-25 Thread Alex Tweedly via use-livecode
On 25/05/2024 16:13, Mike Kerner via use-livecode wrote: (to alex's question) * quicken date shortcuts quicken has/had these very nifty ways of handling date inputs, to make entry faster. if you enter a numeral, like 26, it means that date of this month. similarly, month/date e.g. 5/25 is 5/25

Re: Groups id #

2024-05-25 Thread Bob Sneidar via use-livecode
As I said, the last ID is going to be the stack ID -1. Sent from my iPhone > On May 25, 2024, at 16:55, Bob Sneidar wrote: > > sounds logical, but I'm not sure, maybe you could store the ID of the last > group somewhere. ___ use-livecode mailing li