That is really cool, Richard!
JB
Sent from my iPad
> On Jul 27, 2020, at 10:26 PM, Richard Gaskin via use-livecode
> wrote:
>
> Consider a simplified problem statement:
>
> You have two objects of the same type in a container, and you want to tell
> them apart but had given them the same na
+100 to Mr. Gaskin!
> On Jul 27, 2020, at 10:24 PM, Richard Gaskin via use-livecode
> wrote:
>
> Consider a simplified problem statement:
>
> You have two objects of the same type in a container, and you want to tell
> them apart but had given them the same name.
>
>
>
> Too Many Daves
>
Consider a simplified problem statement:
You have two objects of the same type in a container, and you want to
tell them apart but had given them the same name.
Too Many Daves
by Dr. Seuss
Did I ever tell you that Mrs. McCave
Had twenty-three sons and she named them all Dave?
Hi Alex
You could use the owner of the control in conjunction with the name of the
control to distinguish between the two graphic’s named ‘R’.
I did that for the simple case in your example but may not work with
something more complex.
I created a stack with the same hierarchy of graphics a
On 27/07/2020 21:26, Curry Kenworthy via use-livecode wrote:
Use unambiguous SHORT names!
Thanks, but ...
Yes, using unambiguous SHORT names solves this naming problem, but
introduces other problems. In particular, this group script should
(probably) be a behaviour script, since the group
Richard:
> The simplest is to use unambiguous names
+1!
Alex:
> Is there an unambiguous name in this case ?
Use unambiguous SHORT names!
Alex:
> (i.e. A-R, not A-B-R)
+1!
Best wishes,
Curry Kenworthy
Custom Software Development
"Better Methods, Better Results"
LiveCode Training and Co
Dear LiveCode experts,
I have had an annoying problem with a datagrid since years ago. Now is
the time to fix it.
One of the columns is numeric (CustomerID). It takes the data form an
MYSQL Database.
When I sort the data by clicking on the CustomerID column, the customer
numbers appear as
On 27/07/2020 16:33, Richard Gaskin via use-livecode wrote:
There are many ways to refer to things. The simplest is to use
unambiguous names for things that matter.
Is there an unambiguous name in this case ? And if so, what is it :-) ?
A group "A" contains a rectangle "R", and a (sub)group
Ben,
I’d find a sample stack to be useful. I’ll leave details of what constitutes a
“library” to others. There are some best practices, tho. What I see is usually
a text stack with that main handlers with a sample stack that demos basic calls.
That said, if you don’t have the time to get into th
Hi Bill (and Neville)
Happy to post it - I'll try to do a bit of cleanup and commenting first.
(Honestly I think it's probably just going to be an email to the list.) Afore
I do, I had this question:
(I say library - currently it's a button I copy and paste to stacks where I
need it, and "in
Thanks Mark and Andre.
Mark's description of the solution is correct - but in my situation it's
not a solution.
The sub-groups (B in my earlier example) are opaque - they have
coloured, filled backdrops so that they can capture e.g. mouseMove
messages, so they need to be opaque. Therefore, I
There are many ways to refer to things. The simplest is to use
unambiguous names for things that matter.
--
Richard Gaskin
Fourth World Systems
Alex Tweedly wrote:
I think my head is melting :-)
I have a group called 'A'.
Inside A, there is a rect called "R" and also a group called "B"
Hi all,
Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!
Read issue #234 here: https://bit.ly/3g60YXc
This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around
Alex,
I think that Mark solution is the correct one but I couldn't resist telling
you some other idea, one that is only applicable if performance is not a
problem.
You can add custom properties to controls you want to find later and then
look for them by looping everyone in the card. A reusable s
Here's another data point for this oddity.
Once the IDE starts tripping out from breakpoints and I restart Livecode to
fix the problem, the behavior in which the breakpoints stop working has
"detached" from the object pointing to it. I say "detached", as the object
still shows in the Inspector th
15 matches
Mail list logo