I’ve had this problem before and solved it with a work-around/hack using the
intersect of 2 graphics with small alpha values.
Roger
> On Feb 22, 2021, at 2:02 PM, jbv via use-livecode
> wrote:
>
> Le 2021-02-22 15:26, Tore Nilsen via use-livecode a écrit :
>> Since the properties of the arc
Le 2021-02-22 15:26, Tore Nilsen via use-livecode a écrit :
Since the properties of the arc is available even if it is invisible,
this will work though:
on mouseDown
put isWithin("myGraphic",the clickLoc)
end mouseDown
function isWithin pGraphic pClickLoc
if pClickLoc is within the rect of
If you're willing to do something "hackish", you could do this:
on mouseDown
lock screen
show grc "mygraphic"
put within(grc "mygraphic",the clickloc)
hide grc "mygraphic"
unlock screen
end mouseDown
:D
Ken
> On Feb 22, 2021, at 1:49 PM, jbv via use-livecode
> wrote:
>
> Hi list,
> 22. feb. 2021 kl. 21:26 skrev Tore Nilsen via use-livecode
> :
>
>
>
>> 22. feb. 2021 kl. 21:14 skrev Richard Gaskin via use-livecode
>> :
>>
>> jbv wrote:
>>> I have a graphic made of a list of points. This graphic is opaque
>>> and invisible, its filled property is set to true (accordi
> 22. feb. 2021 kl. 21:14 skrev Richard Gaskin via use-livecode
> :
>
> jbv wrote:
>> I have a graphic made of a list of points. This graphic is opaque
>> and invisible, its filled property is set to true (according to
>> the doc).
>> In my card script I have something like :
>> on mousedown
>
Would it work in your case if you left the graphic visible and set the
blendLevel to 99?
be well,
randy
> On Feb 22, 2021, at 2:14 PM, Richard Gaskin via use-livecode
> wrote:
>
> jbv wrote:
>> I have a graphic made of a list of points. This graphic is opaque
>> and invisible, its filled prop
jbv wrote:
I have a graphic made of a list of points. This graphic is opaque
and invisible, its filled property is set to true (according to
the doc).
In my card script I have something like :
on mousedown
put within(grc "mygraphic", the clickloc)
end mousedown
but it always returns false, ev
Hi list,
I have a graphic made of a list of points. This graphic is opaque
and invisible, its filled property is set to true (according to
the doc).
In my card script I have something like :
on mousedown
put within(grc "mygraphic", the clickloc)
end mousedown
but it always returns false, even