On 6/25/19 8:46 PM, Brian Milby via use-livecode wrote:
Nothing gets put into limbo. The pointer is deleted/removed from the array
thus reducing the reference count held by the object containing the value. In
the above example, the only pointer left is the one held by tSubArray until a
copy
Nothing gets put into limbo. The pointer is deleted/removed from the array
thus reducing the reference count held by the object containing the value. In
the above example, the only pointer left is the one held by tSubArray until a
copy of the pointer is placed in the array as the new key which
On 6/25/19 4:31 PM, Brian Milby via use-livecode wrote:
Value object starts with a ref count of 1 in the array
The first put increases the ref count to 2
The delete takes it back to 1
The second put takes it back to 2
At the end of the handler it goes back to 1 since the local var goes away
Mmm
There are a couple places in System Report (About this Mac --> System Report)
that will show what apps are 32-bit: Software->Applications and
Software->Legacy Software. I like the latter because it is more complete and
covers more. For example all of the LiveCode 9 applications are 64-bit, but t
Value object starts with a ref count of 1 in the array
The first put increases the ref count to 2
The delete takes it back to 1
The second put takes it back to 2
At the end of the handler it goes back to 1 since the local var goes away
Thanks,
Brian
On Jun 25, 2019, 6:35 PM -0400, Mark Wieder via
i thought we are talking about ignoring the controls owned by the group. They
have real zest appeal.
Craig
--
Sent from:
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
___
use-livecode mailing list
use-livecode@lists.run
On 6/25/19 1:25 AM, Mark Waddingham via use-livecode wrote:
On 2019-06-25 04:18, Brian Milby via use-livecode wrote:
My guess is that it has to do with the copy on write property of
arrays. If you used your method it may force an actual duplication.
The existing method just passes a pointer ef
This is easily remedied. Just choose LC 9 in the Finder, choose Show Info and
make sure you run it in 64 bit mode. I don’t have an English OS setup right
know, but you should opt out of running the application in what in Norwegian is
called "low resolution mode". Once you do, you will not get th
As I understand it, a group will be the FIRST object to get a mouse message, IF
you click on an actual object in the group. So you can have a mouseUp handler
in the group script that handles clicks in other objects, simpy by using the
target to determine what was clicked.
Bob S
> On Jun 25,
Devin.
"That is what the "target" is for."
"Right, but when you click on an empty space in a group, it is the target,
and if you only want to script the child objects you would have to
specifically exclude the parent group."
The target in this case is the card. Assuming, of course, that no "real
I got macOS Catalina (10.15) beta "shoved up my nose" by my
Mac's Software update thingy this afternoon.
While I, normally, go for Beta versions of software I am not going
to touch this one: and may, indeed never upgrade to 10.15.
One of a whole slew of reasons is that I keep getting warning not
Hey folks,
On a 64 bit build, can groups be bigger than -32768 to 32767? pixels?
Don't ask why one would want it bigger. :D
Thanks,
Tom
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and m
> On Jun 25, 2019, at 11:53 AM, dunbarxx via use-livecode
> wrote:
>
> "I would suggest an enhancement to LiveCode to add a property to Groups
> that toggle between: "
>
> Setting the "opaque" of the group ought to be the property that permits
> mouse messages.
*** End of quote. Here is my c
"I would suggest an enhancement to LiveCode to add a property to Groups
that toggle between: "
Setting the "opaque" of the group ought to be the property that permits
mouse messages.
"If the group did get mouse click messages, it would complicate things in
situations where you want to know which
This is a great idea, Paul. I was just thinking that might be a good solution,
especially with the addition of the (relatively) new clipsToRect property of
fields. When that property is true, a group’s boundaries do not automatically
snap to the area defined by its child objects. Instead the gr
Another easy workaround if you want a group with a transparent background
is to put a group-sized graphic behind other objects as mentioned, but set
the blendlevel of the graphic to 99. Visually it won't be seen but it will
still trap messages.
--
Jacqueline Landman Gay | jac...@hyperactivesw.
There are clearly use cases where it makes sense for a group (such as it
it just being used to contain or enclose a set of other controls) NOT to
received mouse event messages.
There are also use cases where it DOES make sense of a group to received
mouse event messages, such as if you are usi
This bit me a few times. I would have a group with some controls but was not
able to get the mouseUp when you clicked in the group but not on any of the
child controls. I now know I have to put some transparent object that fills the
group and is also behind all the other controls. It never made
I have always thought of a group as a container object, like a card, but
without a “canvas” that constitutes a part of the object. It’s always made
sense to me that a group doesn’t get mouse messages, except as they are passed
from child objects. If the group did get mouse click messages, it wou
bob belabored,
>
> You are probably right. But the workaround is so simple, putting an opaque
> green graphic in the group behind all the other objects, that it would be a
> lot of work to implement just so we didn't have to put a graphic in a group.
I actually use that background rectangle
You are probably right. But the workaround is so simple, putting an opaque
green graphic in the group behind all the other objects, that it would be a lot
of work to implement just so we didn't have to put a graphic in a group.
Bob S
> On Jun 25, 2019, at 08:24 , dunbarxx via use-livecode
>
I suppose as long as one knows how it works, it can be dealt with.
But there is an issue here, in that a group is not really a control, despite
what the dictionary says. A group has a rect, and one can tell if the
mouseLoc, say, is within that rect (and not necessarily within the rect of a
child c
What would happen if you had a background image set for the group?
Bob S
> On Jun 24, 2019, at 17:24 , dunbarx--- via use-livecode
> wrote:
>
> Confirmed here.
> I have never really tried any of the things you mentioned, but no messages at
> all are sent to the group I just made. Interesti
:-)
> On Jun 24, 2019, at 20:55 , J. Landman Gay via use-livecode
> wrote:
>
> I love when you guys talk geek to me. "Tell me more about my
> arrays."
>
> https://youtu.be/dEaFFZpfxLU
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
__
On 6/25/2019 4:11 AM, Mark Waddingham via use-livecode wrote:
The behavior of groups re mouse messages (and the lack there of) has
been the same as long as I can remember (which is back to around
version 2.0).
Warmest Regards,
Mark.
As always Mark, thank you.
I have becomes so use to most
On 6/25/2019 7:03 AM, panagiotis merakos wrote:
There is the drawing library, which is an IDE stack. However its name
is "com.livecode.library.drawing", not just "drawing". So this sounds
like a bug in the IDE :)
https://quality.livecode.com/show_bug.cgi?id=22205
_
Hello Paul,
There is the drawing library, which is an IDE stack. However its name is
"com.livecode.library.drawing", not just "drawing". So this sounds like a
bug in the IDE :)
Kind regards,
Panos
--
On Mon, 24 Jun 2019 at 23:54, Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrot
In short form then:
Put 23 into tX; Put 8 into tY;
Put tX & “/“ & tY && “=“ && (tX div tY) && (tX mod tY) & “/“ & tY into
tCalcString
Sean Cole
Pi Digital Prod Ltd
> On 25 Jun 2019, at 09:09, Mark Waddingham via use-livecode
> wrote:
>
> Q := X div Y
> R := X mod Y
>
> Then you have that
On 2019-06-25 04:18, Brian Milby via use-livecode wrote:
My guess is that it has to do with the copy on write property of
arrays. If you used your method it may force an actual duplication.
The existing method just passes a pointer effectively. I could be
totally wrong though.
On Jun 24, 2019
On 2019-06-25 03:07, Paul Dupuis via use-livecode wrote:
On 6/24/2019 8:24 PM, dunbarx--- via use-livecode wrote:
Confirmed here.
I have never really tried any of the things you mentioned, but no
messages at all are sent to the group I just made. Interestingly, and
consistent so far, double c
On 2019-06-24 21:26, Richmond via use-livecode wrote:
But it is not much cop when it comes to finding
the quotient of some long and complicated bit of Mathematics.
Perhaps not, but it is what you asked for...
28 div 3 = 9
28 mod 1 = 1
28 / 3 = 9 + 1/3
301 div 10 = 30
301 mod 10 = 1
31 matches
Mail list logo