Re: Lock/Unlock Screen of another stack

2021-04-04 Thread Roger Guay via use-livecode
Hi Klaus,

> On Apr 4, 2021, at 4:50 PM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Roger,
> 
>> Am 05.04.2021 um 00:56 schrieb Roger Guay via use-livecode 
>> :
>> 
>> Hi all,
>> 
>> I have a button on one stack that hides and shows controls of another stack. 
>> Is it possible to add Lock screen for effect and Unlock screen with effect 
>> in that button? Can’t seem to make it work….
> 
> a shot in the dark, but does setting the defaultstack first help?
> But maybe you already tried that.

I did try that but to no avail. However, I solved my problem by putting the 
guts of the script inside a handler in the stack I want to control. I then just 
call that handler from the stack that is controlling. Works great . . . 
probably a better way to go anyway.

Thanks for your help

Roger
> 
>> Thx,
>> 
>> Roger 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: autohilite FUBAR?

2021-04-04 Thread Richard Gaskin via use-livecode

Thanks for the feedback, Clarence and Jim.

I found a report for this originally specifying Android only (where I 
first noticed it), and added a note about the scope affecting both 
Windows and Linux too:


https://quality.livecode.com/show_bug.cgi?id=22965#c6

--
 Richard Gaskin
 Fourth World Systems



chipsm themartinz.com chipsm at themartinz.com
Sat Apr 3 13:47:48 EDT 2021
Hi Jim. I agree that this should be the behavior on all Os's. On Windows, as you move the mouse across a button, the buttons exhibit a slight flashing effect. It's as though there are some kind of Zones in the button. 
I've never noticed this until Richard made mention of this activity. It is slightly noticeable, but it is definitely there.


Sincerely,

Clarence Martin
Email: chipsm at themartinz.com
Phone: 626 6965561

-Original Message-
From: use-livecode  On Behalf Of Jim 
Lambert via use-livecode

Richard,

On Mac when I hold the mouse down on a LC button, I can move the cursor around 
within the button and the button remains hilited.
As soon as the cursor exits the button the hilite disappears.
To me this is the desired behavior one should see on all platforms.

Jim Lambert



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: "tsnet (1) Received HTTP/0.9 when not allowed"?

2021-04-04 Thread Richard Gaskin via use-livecode
curl is reporting the default because the data it's receiving is zero 
length:

http://lists.runrev.com/pipermail/use-livecode/2021-April/264146.html

--
 Richard Gaskin
 Fourth World Systems



Andre Garzia wrote:> Are you using the time travel external? HTTP/0.9 
has been historical for a long while, you can see more about this 
protocol at:


https://medium.com/platform-engineer/evolution-of-http-69cfe6531ba0 


To what server you’re connecting?


On 31 Mar 2021, at 20:29, Richard Gaskin via use-livecode  wrote:

I have an LC app that recently started reporting this error when calling a web 
service we wrote:

 tsnet (1) Received HTTP/0.9 when not allowed


Searching around the web I see many varied descriptions of how one might remedy 
that, but none seem to fit our circumstance.

Anyone else seen this? What was needed to resolve it?

--
Richard Gaskin
Fourth World Systems



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Lock/Unlock Screen of another stack

2021-04-04 Thread Klaus major-k via use-livecode
Hi Roger,

> Am 05.04.2021 um 00:56 schrieb Roger Guay via use-livecode 
> :
> 
> Hi all,
> 
> I have a button on one stack that hides and shows controls of another stack. 
> Is it possible to add Lock screen for effect and Unlock screen with effect in 
> that button? Can’t seem to make it work….

a shot in the dark, but does setting the defaultstack first help?
But maybe you already tried that.

> Thx,
> 
> Roger 

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Lock/Unlock Screen of another stack

2021-04-04 Thread Roger Guay via use-livecode
Hi all,

I have a button on one stack that hides and shows controls of another stack. Is 
it possible to add Lock screen for effect and Unlock screen with effect in that 
button? Can’t seem to make it work….

Thx,

Roger 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Behaviors and scripts and a new handler structure...

2021-04-04 Thread Mark Smith via use-livecode
Hi Bob,

If you have a bit of time, could you tell us a bit more about how?

Thanks,
Mark

> On Apr 2, 2021, at 12:42 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I have already implemented this with the help of others, for Datagrids. I 
> think it works already for other things. 
> 
> Bob S
> 
> 
>> On Apr 1, 2021, at 12:51 , Paul Dupuis via use-livecode 
>>  wrote:
>> 
>> I have increasingly been using behaviors in my applications where it makes 
>> sense to assign a script to multiple objects or to override the actions of 
>> existing script handlers by assign a behavior with different version of 
>> those handlers.
>> 
>> The one thing I dislike about behaviors is all the objects I need to create 
>> (a button for this behavior another button for that behavior script and so 
>> on).
>> 
>> I'd love to see a new LCS structure like the following:
>> 
>> behavior 
>> 
>> 
>> 
>> end 
>> 
>> that you can just have in a script. Even multiple behaviors in the same 
>> script perhaps each with their own 'mouseUp' handlers and then you can set 
>> the behavior of an object to a behavior name and done. Obviously, any 
>> messages (i.e mouseDown, mouseUp, etc. etc.) in the behavior block should 
>> never received a mouseDown, mouseUp, etc. message unless sent to the object 
>> tat have the behavior assigned to it.
>> 
>> I think it would make code maintenance potentially much easier. I don't have 
>> any idea how much of a engine change such a addition to the language would 
>> represent.
>> 
>> Anyone else think this is a good idea?
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Polygons

2021-04-04 Thread J. Landman Gay via use-livecode
To simulate a graphic with no lines, set the border color to the same color 
as the fill. Set opaque to true. You could then overlay that with a line 
graphic that just has the top portion of the graph (no x-axis line.)


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 4, 2021 1:32:26 PM Ian McKnight via use-livecode 
 wrote:



I would hazard a guess that the fill area needs to be bounded by a line. If
a line is missing the fill routine can't determine where the edge of the
fill is and so fails, leaving the grc empty. I may be completely wrong on
this but it seems logical.

Not much help I know but if you want to emphasise the edge of the bar could
the special effects settings help? I haven't tried his but have your bar as
a filled grc with out an edge and play with internal, external glows and
shadows etc to emphasise the outline.

Regards

Ian

On Sun, 4 Apr 2021, 19:10 Terence Heaford via use-livecode, <
use-livecode@lists.runrev.com> wrote:


OK, I have changed your script by adding these lines to the mouseUp handler

set the backgroundColor of grc "myPoly" to red

set the forecolor of grc "myPoly" to blue


Now if you switch the lines on/off you will see that the fill does not
work without all lines.

Not sure what this means exactly.

Thanks

Terry


> On 4 Apr 2021, at 18:43, Ian McKnight via use-livecode <
use-livecode@lists.runrev.com> wrote:
>
> I have to say that I'm not seeing this.
> I seem to remember that graphics can't show a fill unless all lines are
> visible.
> As a test I created a graphic called "myPoly" .
> I placed a checkbox called "showSides" (and removed its script)
> in a button I placed the following script:
>
>
-
>
> *on* mouseUp
>
> *-- points for a 100 unit square with 4 sides visible*
>
> *put* "50,50" & "150,50" & "150,150" & "50,150" & "50,50" 
> into tPointsFor4Lines
>
> *-- points for a 100 unit square with alternate sides visible*
>
> *put* "50,50" & "150,50" & cr& "150,150" & "50,150"  &
> "50,50"  into tPointsFor2Lines
>
> *set* the opaque of grc "myPoly" to true *-- ensures fill is visible*
>
> *if* the hilite of btn "showSides" is true
>
> *then*
>
> *set* the points of grc "myPoly" to tPointsFor4Lines *-- all sides
showing*
>
> *else*
>
> *set* the points of grc "myPoly" to tPointsFor2Lines *-- alternate sides
> showing*
>
> *end* *if*
>
> *end* mouseUp
>
>
--
>
> When you run this and flip between 4 and 2 sides its showing the square
is
> drawn correctly,
>
> 4 sides visible - filled and 2 sides visible - not filled
>
> If you check the Inspector for the graphic the opaque property hasn't
> changed.
>
> The only way I can think to overcome this is to create another graphic -
> the same size as your first one, place it underneath your graphic and
group
> them together. Then when all sides are visible you can make this
background
> graphic invisible and when sides are 'missing' make it visible again to
> provide the fill or simply leave it visible since it won't be seen under
> your original graphic. When sides 'disappear' and the fill disappears
this
> graphic will then provide your fill.
>
>
> Hope this is of some help
>
> Regards
>
> Ian
>
>
> On Sun, 4 Apr 2021 at 18:04, Terence Heaford via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> When you do this it appears to affect the fill settings. I lose the fill
>> where there are no lines and the closure of the points also moves.
>>
>> I can’t believe it’s LC, it must be me. A simple script example would be
>> useful if you have the time.
>>
>> A square, that’s easy, that has the side lines missing and is filled
with
>> a colour.
>>
>> Regards
>>
>> Terry
>>
>>
>>> On 4 Apr 2021, at 15:39, Ian McKnight via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>>
>>> By a space I mean a blank line!
>>> Ian
>>>
>>> On Sun, 4 Apr 2021 at 15:39, Ian McKnight > > wrote:
>>>
 Hi
 Put a space in-between the points where you want  the line in not be
 drawn. The shape is still constructed but with missing sides.

 Ian

 On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode <
 use-livecode@lists.runrev.com> wrote:

> Thanks for that, clearly understood.
>
> To expand on the original question. If you have a hexagon, is it
> possible  to only draw lines on sides 1,3,5,6 and no lines on sides
>> 2,4.
>
> Thanks Terry
>
>> On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>>
>> Yes. Polygons use a list of 4 points to describe a triangle. The
>> first
> and
>> last are the co-ords of the same vertex to ensure closure.
>> If the last point is left out then the line between the last vertex
>> and
> the
>> first 

Re: Polygons

2021-04-04 Thread Ian McKnight via use-livecode
I would hazard a guess that the fill area needs to be bounded by a line. If
a line is missing the fill routine can't determine where the edge of the
fill is and so fails, leaving the grc empty. I may be completely wrong on
this but it seems logical.

Not much help I know but if you want to emphasise the edge of the bar could
the special effects settings help? I haven't tried his but have your bar as
a filled grc with out an edge and play with internal, external glows and
shadows etc to emphasise the outline.

Regards

Ian

On Sun, 4 Apr 2021, 19:10 Terence Heaford via use-livecode, <
use-livecode@lists.runrev.com> wrote:

> OK, I have changed your script by adding these lines to the mouseUp handler
>
> set the backgroundColor of grc "myPoly" to red
>
> set the forecolor of grc "myPoly" to blue
>
>
> Now if you switch the lines on/off you will see that the fill does not
> work without all lines.
>
> Not sure what this means exactly.
>
> Thanks
>
> Terry
>
>
> > On 4 Apr 2021, at 18:43, Ian McKnight via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I have to say that I'm not seeing this.
> > I seem to remember that graphics can't show a fill unless all lines are
> > visible.
> > As a test I created a graphic called "myPoly" .
> > I placed a checkbox called "showSides" (and removed its script)
> > in a button I placed the following script:
> >
> >
> -
> >
> > *on* mouseUp
> >
> > *-- points for a 100 unit square with 4 sides visible*
> >
> > *put* "50,50" & "150,50" & "150,150" & "50,150" & "50,50" 
> > into tPointsFor4Lines
> >
> > *-- points for a 100 unit square with alternate sides visible*
> >
> > *put* "50,50" & "150,50" & cr& "150,150" & "50,150"  &
> > "50,50"  into tPointsFor2Lines
> >
> > *set* the opaque of grc "myPoly" to true *-- ensures fill is visible*
> >
> > *if* the hilite of btn "showSides" is true
> >
> > *then*
> >
> > *set* the points of grc "myPoly" to tPointsFor4Lines *-- all sides
> showing*
> >
> > *else*
> >
> > *set* the points of grc "myPoly" to tPointsFor2Lines *-- alternate sides
> > showing*
> >
> > *end* *if*
> >
> > *end* mouseUp
> >
> >
> --
> >
> > When you run this and flip between 4 and 2 sides its showing the square
> is
> > drawn correctly,
> >
> > 4 sides visible - filled and 2 sides visible - not filled
> >
> > If you check the Inspector for the graphic the opaque property hasn't
> > changed.
> >
> > The only way I can think to overcome this is to create another graphic -
> > the same size as your first one, place it underneath your graphic and
> group
> > them together. Then when all sides are visible you can make this
> background
> > graphic invisible and when sides are 'missing' make it visible again to
> > provide the fill or simply leave it visible since it won't be seen under
> > your original graphic. When sides 'disappear' and the fill disappears
> this
> > graphic will then provide your fill.
> >
> >
> > Hope this is of some help
> >
> > Regards
> >
> > Ian
> >
> >
> > On Sun, 4 Apr 2021 at 18:04, Terence Heaford via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> When you do this it appears to affect the fill settings. I lose the fill
> >> where there are no lines and the closure of the points also moves.
> >>
> >> I can’t believe it’s LC, it must be me. A simple script example would be
> >> useful if you have the time.
> >>
> >> A square, that’s easy, that has the side lines missing and is filled
> with
> >> a colour.
> >>
> >> Regards
> >>
> >> Terry
> >>
> >>
> >>> On 4 Apr 2021, at 15:39, Ian McKnight via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> By a space I mean a blank line!
> >>> Ian
> >>>
> >>> On Sun, 4 Apr 2021 at 15:39, Ian McKnight  >> > wrote:
> >>>
>  Hi
>  Put a space in-between the points where you want  the line in not be
>  drawn. The shape is still constructed but with missing sides.
> 
>  Ian
> 
>  On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode <
>  use-livecode@lists.runrev.com> wrote:
> 
> > Thanks for that, clearly understood.
> >
> > To expand on the original question. If you have a hexagon, is it
> > possible  to only draw lines on sides 1,3,5,6 and no lines on sides
> >> 2,4.
> >
> > Thanks Terry
> >
> >> On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >>
> >> Yes. Polygons use a list of 4 points to describe a triangle. The
> >> first
> > and
> >> last are the co-ords of the same vertex to ensure closure.
> >> If the last point is left out then the line between the last vertex
> >> and
> > the
> >> first vertex is not drawn.
> >> So make sure that your list of points doesn't begin with the right
> >> angle
> >> 

Re: Polygons

2021-04-04 Thread Terence Heaford via use-livecode
OK, I have changed your script by adding these lines to the mouseUp handler

set the backgroundColor of grc "myPoly" to red

set the forecolor of grc "myPoly" to blue


Now if you switch the lines on/off you will see that the fill does not work 
without all lines.

Not sure what this means exactly.

Thanks

Terry


> On 4 Apr 2021, at 18:43, Ian McKnight via use-livecode 
>  wrote:
> 
> I have to say that I'm not seeing this.
> I seem to remember that graphics can't show a fill unless all lines are
> visible.
> As a test I created a graphic called "myPoly" .
> I placed a checkbox called "showSides" (and removed its script)
> in a button I placed the following script:
> 
> -
> 
> *on* mouseUp
> 
> *-- points for a 100 unit square with 4 sides visible*
> 
> *put* "50,50" & "150,50" & "150,150" & "50,150" & "50,50" 
> into tPointsFor4Lines
> 
> *-- points for a 100 unit square with alternate sides visible*
> 
> *put* "50,50" & "150,50" & cr& "150,150" & "50,150"  &
> "50,50"  into tPointsFor2Lines
> 
> *set* the opaque of grc "myPoly" to true *-- ensures fill is visible*
> 
> *if* the hilite of btn "showSides" is true
> 
> *then*
> 
> *set* the points of grc "myPoly" to tPointsFor4Lines *-- all sides showing*
> 
> *else*
> 
> *set* the points of grc "myPoly" to tPointsFor2Lines *-- alternate sides
> showing*
> 
> *end* *if*
> 
> *end* mouseUp
> 
> --
> 
> When you run this and flip between 4 and 2 sides its showing the square is
> drawn correctly,
> 
> 4 sides visible - filled and 2 sides visible - not filled
> 
> If you check the Inspector for the graphic the opaque property hasn't
> changed.
> 
> The only way I can think to overcome this is to create another graphic -
> the same size as your first one, place it underneath your graphic and group
> them together. Then when all sides are visible you can make this background
> graphic invisible and when sides are 'missing' make it visible again to
> provide the fill or simply leave it visible since it won't be seen under
> your original graphic. When sides 'disappear' and the fill disappears this
> graphic will then provide your fill.
> 
> 
> Hope this is of some help
> 
> Regards
> 
> Ian
> 
> 
> On Sun, 4 Apr 2021 at 18:04, Terence Heaford via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> When you do this it appears to affect the fill settings. I lose the fill
>> where there are no lines and the closure of the points also moves.
>> 
>> I can’t believe it’s LC, it must be me. A simple script example would be
>> useful if you have the time.
>> 
>> A square, that’s easy, that has the side lines missing and is filled with
>> a colour.
>> 
>> Regards
>> 
>> Terry
>> 
>> 
>>> On 4 Apr 2021, at 15:39, Ian McKnight via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> By a space I mean a blank line!
>>> Ian
>>> 
>>> On Sun, 4 Apr 2021 at 15:39, Ian McKnight > > wrote:
>>> 
 Hi
 Put a space in-between the points where you want  the line in not be
 drawn. The shape is still constructed but with missing sides.
 
 Ian
 
 On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode <
 use-livecode@lists.runrev.com> wrote:
 
> Thanks for that, clearly understood.
> 
> To expand on the original question. If you have a hexagon, is it
> possible  to only draw lines on sides 1,3,5,6 and no lines on sides
>> 2,4.
> 
> Thanks Terry
> 
>> On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>> 
>> Yes. Polygons use a list of 4 points to describe a triangle. The
>> first
> and
>> last are the co-ords of the same vertex to ensure closure.
>> If the last point is left out then the line between the last vertex
>> and
> the
>> first vertex is not drawn.
>> So make sure that your list of points doesn't begin with the right
>> angle
>> vertex and you're good to go.
>> 
>> Ian
>> 
>> 
>>> On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> If I draw a shape using a polygon, as an example assume a right
>> angled
>>> triangle.
>>> 
>>> Is it possible to hide the line between the points that make up the
>>> hypotenuse?
>>> 
>>> Thanks
>>> 
>>> Terry
>>> 
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
>> 
>> --
>> Regards
>> 
>> 
>> Ian McKnight
>> 
>> iangmckni...@gmail.com
>> 

Re: Polygons

2021-04-04 Thread Terence Heaford via use-livecode
Thanks for your example.

I am basic filling underneath a line chart to make an area chart but the 
closing lines to the x-Axis do not have a line.

I concluded to draw a polygon twice once with fill and no lines, filled to the 
x-Axis and overlay it with a similar polygon but not starting/finishing at the 
x-Axis but finishing at the first/last point. (hope this makes sense).

Will play with your example.

Thanks

Terry



> On 4 Apr 2021, at 18:43, Ian McKnight via use-livecode 
>  wrote:
> 
> The only way I can think to overcome this is to create another graphic -
> the same size as your first one, place it underneath your graphic and group
> them together. Then when all sides are visible you can make this background
> graphic invisible and when sides are 'missing' make it visible again to
> provide the fill or simply leave it visible since it won't be seen under
> your original graphic. When sides 'disappear' and the fill disappears this
> graphic will then provide your fill.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Polygons

2021-04-04 Thread Ian McKnight via use-livecode
I have to say that I'm not seeing this.
I seem to remember that graphics can't show a fill unless all lines are
visible.
As a test I created a graphic called "myPoly" .
I placed a checkbox called "showSides" (and removed its script)
in a button I placed the following script:

-

*on* mouseUp

*-- points for a 100 unit square with 4 sides visible*

*put* "50,50" & "150,50" & "150,150" & "50,150" & "50,50" 
into tPointsFor4Lines

*-- points for a 100 unit square with alternate sides visible*

*put* "50,50" & "150,50" & cr& "150,150" & "50,150"  &
"50,50"  into tPointsFor2Lines

*set* the opaque of grc "myPoly" to true *-- ensures fill is visible*

*if* the hilite of btn "showSides" is true

*then*

*set* the points of grc "myPoly" to tPointsFor4Lines *-- all sides showing*

*else*

*set* the points of grc "myPoly" to tPointsFor2Lines *-- alternate sides
showing*

*end* *if*

*end* mouseUp

--

When you run this and flip between 4 and 2 sides its showing the square is
drawn correctly,

4 sides visible - filled and 2 sides visible - not filled

If you check the Inspector for the graphic the opaque property hasn't
changed.

The only way I can think to overcome this is to create another graphic -
the same size as your first one, place it underneath your graphic and group
them together. Then when all sides are visible you can make this background
graphic invisible and when sides are 'missing' make it visible again to
provide the fill or simply leave it visible since it won't be seen under
your original graphic. When sides 'disappear' and the fill disappears this
graphic will then provide your fill.


Hope this is of some help

Regards

Ian


On Sun, 4 Apr 2021 at 18:04, Terence Heaford via use-livecode <
use-livecode@lists.runrev.com> wrote:

> When you do this it appears to affect the fill settings. I lose the fill
> where there are no lines and the closure of the points also moves.
>
> I can’t believe it’s LC, it must be me. A simple script example would be
> useful if you have the time.
>
> A square, that’s easy, that has the side lines missing and is filled with
> a colour.
>
> Regards
>
> Terry
>
>
> > On 4 Apr 2021, at 15:39, Ian McKnight via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > By a space I mean a blank line!
> > Ian
> >
> > On Sun, 4 Apr 2021 at 15:39, Ian McKnight  > wrote:
> >
> >> Hi
> >> Put a space in-between the points where you want  the line in not be
> >> drawn. The shape is still constructed but with missing sides.
> >>
> >> Ian
> >>
> >> On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>> Thanks for that, clearly understood.
> >>>
> >>> To expand on the original question. If you have a hexagon, is it
> >>> possible  to only draw lines on sides 1,3,5,6 and no lines on sides
> 2,4.
> >>>
> >>> Thanks Terry
> >>>
>  On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode <
> >>> use-livecode@lists.runrev.com> wrote:
> 
>  Yes. Polygons use a list of 4 points to describe a triangle. The
> first
> >>> and
>  last are the co-ords of the same vertex to ensure closure.
>  If the last point is left out then the line between the last vertex
> and
> >>> the
>  first vertex is not drawn.
>  So make sure that your list of points doesn't begin with the right
> angle
>  vertex and you're good to go.
> 
>  Ian
> 
> 
> > On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > If I draw a shape using a polygon, as an example assume a right
> angled
> > triangle.
> >
> > Is it possible to hide the line between the points that make up the
> > hypotenuse?
> >
> > Thanks
> >
> > Terry
> >
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> 
> 
>  --
>  Regards
> 
> 
>  Ian McKnight
> 
>  iangmckni...@gmail.com
>  ===
>  ___
>  use-livecode mailing list
>  use-livecode@lists.runrev.com
>  Please visit this url to subscribe, unsubscribe and manage your
> >>> subscription preferences:
>  http://lists.runrev.com/mailman/listinfo/use-livecode
> >>>
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >>> subscription preferences:
> >>> 

Re: Polygons

2021-04-04 Thread Terence Heaford via use-livecode
When you do this it appears to affect the fill settings. I lose the fill where 
there are no lines and the closure of the points also moves.

I can’t believe it’s LC, it must be me. A simple script example would be useful 
if you have the time.

A square, that’s easy, that has the side lines missing and is filled with a 
colour.

Regards

Terry


> On 4 Apr 2021, at 15:39, Ian McKnight via use-livecode 
>  wrote:
> 
> By a space I mean a blank line!
> Ian
> 
> On Sun, 4 Apr 2021 at 15:39, Ian McKnight  > wrote:
> 
>> Hi
>> Put a space in-between the points where you want  the line in not be
>> drawn. The shape is still constructed but with missing sides.
>> 
>> Ian
>> 
>> On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Thanks for that, clearly understood.
>>> 
>>> To expand on the original question. If you have a hexagon, is it
>>> possible  to only draw lines on sides 1,3,5,6 and no lines on sides 2,4.
>>> 
>>> Thanks Terry
>>> 
 On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
 
 Yes. Polygons use a list of 4 points to describe a triangle. The first
>>> and
 last are the co-ords of the same vertex to ensure closure.
 If the last point is left out then the line between the last vertex and
>>> the
 first vertex is not drawn.
 So make sure that your list of points doesn't begin with the right angle
 vertex and you're good to go.
 
 Ian
 
 
> On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
> If I draw a shape using a polygon, as an example assume a right angled
> triangle.
> 
> Is it possible to hide the line between the points that make up the
> hypotenuse?
> 
> Thanks
> 
> Terry
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
 
 
 --
 Regards
 
 
 Ian McKnight
 
 iangmckni...@gmail.com
 ===
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
>> 
>> --
>> Regards
>> 
>> 
>> Ian McKnight
>> 
>> iangmckni...@gmail.com
>> ===
>> 
> 
> 
> -- 
> Regards
> 
> 
> Ian McKnight
> 
> iangmckni...@gmail.com 
> ===
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode 
> 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: "tsnet (1) Received HTTP/0.9 when not allowed"?

2021-04-04 Thread Mark Wieder via use-livecode

On 4/4/21 4:36 AM, Andre Garzia via use-livecode wrote:

Are you using the time travel external? HTTP/0.9 has been historical for a long 
while...


Nonetheless, I believe 0.9 is still the lowest common denominator 
fallback mode when the actual level can't otherwise be determined.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Help! I'm stuck

2021-04-04 Thread J. Landman Gay via use-livecode
It's not a bug, it was intentionally introduced to allow a couple of 
features, like retaining script local variables after a build. Given the 
amount of extra scripting to work around it for existing stacks, I think it 
may have introduced more problems than it tried to cure.


I did try turning off messages before a build but it didn't work.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April 3, 2021 7:13:25 PM William Prothero via use-livecode 
 wrote:


Also, I wonder if disabling all these open …. handlers during build might 
cause build problems. If it was a universal problem/bug, I would think it 
would have been fixed by LC version 9.6.2 (RC3).???





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Polygons

2021-04-04 Thread Ian McKnight via use-livecode
By a space I mean a blank line!
Ian

On Sun, 4 Apr 2021 at 15:39, Ian McKnight  wrote:

> Hi
> Put a space in-between the points where you want  the line in not be
> drawn. The shape is still constructed but with missing sides.
>
> Ian
>
> On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Thanks for that, clearly understood.
>>
>> To expand on the original question. If you have a hexagon, is it
>> possible  to only draw lines on sides 1,3,5,6 and no lines on sides 2,4.
>>
>> Thanks Terry
>>
>> > On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> >
>> > Yes. Polygons use a list of 4 points to describe a triangle. The first
>> and
>> > last are the co-ords of the same vertex to ensure closure.
>> > If the last point is left out then the line between the last vertex and
>> the
>> > first vertex is not drawn.
>> > So make sure that your list of points doesn't begin with the right angle
>> > vertex and you're good to go.
>> >
>> > Ian
>> >
>> >
>> >> On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode <
>> >> use-livecode@lists.runrev.com> wrote:
>> >>
>> >> If I draw a shape using a polygon, as an example assume a right angled
>> >> triangle.
>> >>
>> >> Is it possible to hide the line between the points that make up the
>> >> hypotenuse?
>> >>
>> >> Thanks
>> >>
>> >> Terry
>> >>
>> >>
>> >>
>> >> ___
>> >> use-livecode mailing list
>> >> use-livecode@lists.runrev.com
>> >> Please visit this url to subscribe, unsubscribe and manage your
>> >> subscription preferences:
>> >> http://lists.runrev.com/mailman/listinfo/use-livecode
>> >>
>> >
>> >
>> > --
>> > Regards
>> >
>> >
>> > Ian McKnight
>> >
>> > iangmckni...@gmail.com
>> > ===
>> > ___
>> > use-livecode mailing list
>> > use-livecode@lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> Regards
>
>
> Ian McKnight
>
> iangmckni...@gmail.com
> ===
>


-- 
Regards


Ian McKnight

iangmckni...@gmail.com
===
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Polygons

2021-04-04 Thread Ian McKnight via use-livecode
Hi
Put a space in-between the points where you want  the line in not be drawn.
The shape is still constructed but with missing sides.

Ian

On Sun, 4 Apr 2021 at 15:02, Terence Heaford via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks for that, clearly understood.
>
> To expand on the original question. If you have a hexagon, is it possible
> to only draw lines on sides 1,3,5,6 and no lines on sides 2,4.
>
> Thanks Terry
>
> > On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Yes. Polygons use a list of 4 points to describe a triangle. The first
> and
> > last are the co-ords of the same vertex to ensure closure.
> > If the last point is left out then the line between the last vertex and
> the
> > first vertex is not drawn.
> > So make sure that your list of points doesn't begin with the right angle
> > vertex and you're good to go.
> >
> > Ian
> >
> >
> >> On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >> If I draw a shape using a polygon, as an example assume a right angled
> >> triangle.
> >>
> >> Is it possible to hide the line between the points that make up the
> >> hypotenuse?
> >>
> >> Thanks
> >>
> >> Terry
> >>
> >>
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >
> >
> > --
> > Regards
> >
> >
> > Ian McKnight
> >
> > iangmckni...@gmail.com
> > ===
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
Regards


Ian McKnight

iangmckni...@gmail.com
===
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Polygons

2021-04-04 Thread Terence Heaford via use-livecode
Thanks for that, clearly understood.

To expand on the original question. If you have a hexagon, is it possible  to 
only draw lines on sides 1,3,5,6 and no lines on sides 2,4.

Thanks Terry

> On 4 Apr 2021, at 12:43, Ian McKnight via use-livecode 
>  wrote:
> 
> Yes. Polygons use a list of 4 points to describe a triangle. The first and
> last are the co-ords of the same vertex to ensure closure.
> If the last point is left out then the line between the last vertex and the
> first vertex is not drawn.
> So make sure that your list of points doesn't begin with the right angle
> vertex and you're good to go.
> 
> Ian
> 
> 
>> On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> If I draw a shape using a polygon, as an example assume a right angled
>> triangle.
>> 
>> Is it possible to hide the line between the points that make up the
>> hypotenuse?
>> 
>> Thanks
>> 
>> Terry
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> -- 
> Regards
> 
> 
> Ian McKnight
> 
> iangmckni...@gmail.com
> ===
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Help! I'm stuck

2021-04-04 Thread Sean Cole (Pi) via use-livecode
You can also turn off messages and errors from the Toolbar before you
build. This should prevent any pre/open or pre/close scripts from running.
And make sure all inspectors, message box and project browser are closed
too as well as any windows/stacks other than your main stack.

Sean

On Sun, 4 Apr 2021 at 13:57, Sean Cole (Pi)  wrote:

> ResolveID is referring to the stack, card and object IDs to tie it to your
> breakpoints.
>
> Focus on your main stack. In the Development menu bar, choose Clear All
> Breakpoints. It’s a good idea to do this every time before a main
> standalone build.
>
> So, Delete all your breakpoints. Then resave. (Close and reopen your stack
> and LC if you like). Rebuild. It will be ok.
>
> Sean
>
> On Sun, 4 Apr 2021 at 01:10, William Prothero via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Matthias, or anybody:
>>
>> I got side-tracked but am back to needing to build this standalone and
>> guess what the error message from the builder means. This build problem has
>> been known for some time, as Matthias kindly notified me.
>>
>> My question is:Is it possible to tell what stacks are causing the
>> problem, from the builder error codes. I have But it seems a bit odd that I
>> would have to disable the preopenStack, openstack, closestack, preopencard,
>> opencard, etc, etc ad-nauseum.
>>
>> Before I cause myself a bunch of thrashing around changing a bunch of
>> stacks, is there anything in the error dialog that’s attached that would
>> give me a hint as to where this is happening? Also, I wonder if disabling
>> all these open …. handlers during build might cause build problems. If it
>> was a universal problem/bug, I would think it would have been fixed by LC
>> version 9.6.2 (RC3).???
>>
>> Thanks for any insight and direction. (I”m on Big Sur 11.2.2). I have 10
>> stacks and a number of script only lib stacks in this project.
>>
>> Bill
>>
>> Links to the error dialog:
>> page 1: https://www.dropbox.com/s/f4bmxx3zkuoy0zq/ErrorWindow-p1.png?dl=0
>> 
>> page 2: https://www.dropbox.com/s/zc18s3gkzv92w2w/Errors-page-2.pdf?dl=0
>> 
>>
>> > On Mar 20, 2021, at 1:38 PM, matthias rebbe via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> >
>> > Bill,
>> >
>> > i've just checked the release notes of 9.0.x
>> > The release notes of 9.0.2 contain updated information about this topic
>> and an enhanced script example.
>> > opencard scripts should also be adjusted.
>> > https://downloads.livecode.com/livecode/9_0_2/LiveCodeNotes-9_0_2.pdf
>> >
>> > Please excuse me for pointing to 9.0.1rc1 release notes yesterday.
>> >
>> >
>> > Regards
>> > Matthias
>> >
>> >
>> >
>> >
>> >
>> >
>> > -
>> > Matthias Rebbe
>> > Life Is Too Short For Boring Code
>> >
>> >> Am 20.03.2021 um 18:22 schrieb William Prothero via use-livecode <
>> use-livecode@lists.runrev.com>:
>> >>
>> >> Matthias:
>> >> I see that openstack and closestack messages are inhibited during
>> application build, using:
>> >>
>> >> on closeStack
>> >>  if the mode of stack “revStandaloneProgress” > 0 then
>> >>  exit closeStack
>> >>  end if
>> >> end
>> >>
>> >> So, before I start adding this to all openstack, closestack, scripts
>> of my 12 stacks, I'm’ wondering if I could mess up the build process by
>> by-passing some of the scripts in these handlers. Is there any way to tell
>> more precisely what is causing the problem? Any recommendations on
>> strategy? Should I just change one stack at a time and look for changes in
>> the error window, or just change all them and wonder what affect that would
>> have on the integrity of the build process?
>> >>
>> >> Also, opencard scripts are also called when a stack in launched and I
>> wonder if those need to be escaped too.
>> >>
>> >> Best,
>> >> Bill
>> >>
>> >>> On Mar 19, 2021, at 5:46 PM, matthias rebbe via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> >>>
>> >>> Another thing. I am not sure if your problems are also a result of
>> the following, but you could giv it a try.
>> >>>
>> >>> There was something changed in Standalonebuilder process starting  in
>> LC 9.0 or so to fix a problem. But this fix could cause other problems in
>> some situation.
>> >>> While before that fix the main stacks did not receive any openstack
>> and closestack messages during standalone build, now with the fixed
>> standalone builder they do.
>> >>> Therefore some lines of code need to be added to avoid this.
>> >>>
>> >>> See here on page 2 for an explanation what you have to add to your
>> openstack and closestack handler
>> >>>
>> https://downloads.livecode.com/livecode/9_0_1/LiveCodeNotes-9_0_1_rc_1.pdf
>> >>>
>> >>>
>> >>> -
>> >>> Matthias Rebbe
>> >>> Life Is Too Short For Boring Code
>> >>>
>>  Am 20.03.2021 um 01:31 schrieb ELS Prothero via use-livecode <
>> use-livecode@lists.runrev.com>:
>> 

Re: Star score graphic generator achievable with inks... or...?

2021-04-04 Thread David V Glasgow via use-livecode
Thanks, but Bob Sneidar was exactly right in his original post.  His solution 
works beautifully with real numbers represented as part stars.  I did look at 
the segmented widget, but I wanted to represent real numbers from averaging 
customer ratings.

The only teeny  limitation is that between each star there is a small gap in 
which ‘between stars’ scores are not displayed until the threshold of the next 
stars leftmost point is reached.

In terms of the typical web display of customer feedback, it isn’t significant.

Cheers

David G

> On 2 Apr 2021, at 11:57 pm, Martin Koob via use-livecode 
>  wrote:
> 
> Hi again
> 
> I just installed it following the instructions here
> 
> https://gist.github.com/matthewmaier/a803283ffa46a28e27fd
> 
> It seems to do the job.
> 
> Martin
> 
> 
>> On Apr 2, 2021, at 6:51 PM, Martin Koob via use-livecode 
>>  wrote:
>> 
>> Hi David
>> 
>> If I understand what you want you could use the Segmented Control Widget to 
>> get what you want.
>> 
>> https://livecode.com/livecode-widgets-the-segmented-control/
>> 
>> It just has full ratings, i.e. whole stars however  in a comment to that 
>> tutorial Paul McClernan has a link to a "Five-Star rating system LiveCode 
>> Builder Widget has 10 states (half-stars)"
>> https://github.com/PaulMcClernan/community.livecode.widget.fivestars
>> 
>> I think this would do what you need.
>> 
>> You would need to install the widget in your IDE to use it.
>> 
>> Martin
>> 
>>> On Apr 2, 2021, at 9:14 AM, David V Glasgow via use-livecode 
>>>  wrote:
>>> 
>>> Of course what you suggest is a perfect solution.  
>>> 
>>> Someone had to mail me off list and explain it using very small words.
>>> 
>>> Cheers
>>> 
>>> David G
>>> 
 On 2 Apr 2021, at 10:08 am, David V Glasgow  wrote:
 
 
 
> On 1 Apr 2021, at 6:00 pm, Bob Sneidar via use-livecode 
>  wrote:
> 
> Actually I think you would have to set the width of the top group, then 
> set the left of the top group to the left of the bottom group. Simply 
> changing the right will move the group I think. Just going off memory.
> 
> Bob S
> 
 
 
 Thanks,Bob,  but as I understand what you are saying, wouldn’t that only 
 trade in whole stars?  The easiest way to do that would be with icon 
 switching - I want to have the last star part gold and part grey, (with a  
 vertical boundary through the star) if that is what is demand by the mean 
 feedback score being represented.
 
 I’m thinking perhaps icons will be the easiest way to go.  Maybe 10 stars 
 each representing a degree of  ‘goldness’ and I will just set the stars 
 Icons as required.  Duh!  Actually 11 stars, I will need a 0% gold.
 
 Thanks anyway
 
 Cheers
 
 David G
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Help! I'm stuck

2021-04-04 Thread Sean Cole (Pi) via use-livecode
ResolveID is referring to the stack, card and object IDs to tie it to your
breakpoints.

Focus on your main stack. In the Development menu bar, choose Clear All
Breakpoints. It’s a good idea to do this every time before a main
standalone build.

So, Delete all your breakpoints. Then resave. (Close and reopen your stack
and LC if you like). Rebuild. It will be ok.

Sean

On Sun, 4 Apr 2021 at 01:10, William Prothero via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Matthias, or anybody:
>
> I got side-tracked but am back to needing to build this standalone and
> guess what the error message from the builder means. This build problem has
> been known for some time, as Matthias kindly notified me.
>
> My question is:Is it possible to tell what stacks are causing the problem,
> from the builder error codes. I have But it seems a bit odd that I would
> have to disable the preopenStack, openstack, closestack, preopencard,
> opencard, etc, etc ad-nauseum.
>
> Before I cause myself a bunch of thrashing around changing a bunch of
> stacks, is there anything in the error dialog that’s attached that would
> give me a hint as to where this is happening? Also, I wonder if disabling
> all these open …. handlers during build might cause build problems. If it
> was a universal problem/bug, I would think it would have been fixed by LC
> version 9.6.2 (RC3).???
>
> Thanks for any insight and direction. (I”m on Big Sur 11.2.2). I have 10
> stacks and a number of script only lib stacks in this project.
>
> Bill
>
> Links to the error dialog:
> page 1: https://www.dropbox.com/s/f4bmxx3zkuoy0zq/ErrorWindow-p1.png?dl=0
> 
> page 2: https://www.dropbox.com/s/zc18s3gkzv92w2w/Errors-page-2.pdf?dl=0 <
> https://www.dropbox.com/s/zc18s3gkzv92w2w/Errors-page-2.pdf?dl=0>
>
> > On Mar 20, 2021, at 1:38 PM, matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Bill,
> >
> > i've just checked the release notes of 9.0.x
> > The release notes of 9.0.2 contain updated information about this topic
> and an enhanced script example.
> > opencard scripts should also be adjusted.
> > https://downloads.livecode.com/livecode/9_0_2/LiveCodeNotes-9_0_2.pdf
> >
> > Please excuse me for pointing to 9.0.1rc1 release notes yesterday.
> >
> >
> > Regards
> > Matthias
> >
> >
> >
> >
> >
> >
> > -
> > Matthias Rebbe
> > Life Is Too Short For Boring Code
> >
> >> Am 20.03.2021 um 18:22 schrieb William Prothero via use-livecode <
> use-livecode@lists.runrev.com>:
> >>
> >> Matthias:
> >> I see that openstack and closestack messages are inhibited during
> application build, using:
> >>
> >> on closeStack
> >>  if the mode of stack “revStandaloneProgress” > 0 then
> >>  exit closeStack
> >>  end if
> >> end
> >>
> >> So, before I start adding this to all openstack, closestack, scripts of
> my 12 stacks, I'm’ wondering if I could mess up the build process by
> by-passing some of the scripts in these handlers. Is there any way to tell
> more precisely what is causing the problem? Any recommendations on
> strategy? Should I just change one stack at a time and look for changes in
> the error window, or just change all them and wonder what affect that would
> have on the integrity of the build process?
> >>
> >> Also, opencard scripts are also called when a stack in launched and I
> wonder if those need to be escaped too.
> >>
> >> Best,
> >> Bill
> >>
> >>> On Mar 19, 2021, at 5:46 PM, matthias rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> Another thing. I am not sure if your problems are also a result of the
> following, but you could giv it a try.
> >>>
> >>> There was something changed in Standalonebuilder process starting  in
> LC 9.0 or so to fix a problem. But this fix could cause other problems in
> some situation.
> >>> While before that fix the main stacks did not receive any openstack
> and closestack messages during standalone build, now with the fixed
> standalone builder they do.
> >>> Therefore some lines of code need to be added to avoid this.
> >>>
> >>> See here on page 2 for an explanation what you have to add to your
> openstack and closestack handler
> >>>
> https://downloads.livecode.com/livecode/9_0_1/LiveCodeNotes-9_0_1_rc_1.pdf
> >>>
> >>>
> >>> -
> >>> Matthias Rebbe
> >>> Life Is Too Short For Boring Code
> >>>
>  Am 20.03.2021 um 01:31 schrieb ELS Prothero via use-livecode <
> use-livecode@lists.runrev.com>:
> 
>  It’s mystifying that all messages seem to come from the rev builder
> scripts, with no hint of what could be the problem.
> >>>
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >> William Prothero
> >> waproth...@gmail.com
> >>

Re: Polygons

2021-04-04 Thread Ian McKnight via use-livecode
Yes. Polygons use a list of 4 points to describe a triangle. The first and
last are the co-ords of the same vertex to ensure closure.
If the last point is left out then the line between the last vertex and the
first vertex is not drawn.
So make sure that your list of points doesn't begin with the right angle
vertex and you're good to go.

Ian


On Sun, 4 Apr 2021 at 12:12, Terence Heaford via use-livecode <
use-livecode@lists.runrev.com> wrote:

> If I draw a shape using a polygon, as an example assume a right angled
> triangle.
>
> Is it possible to hide the line between the points that make up the
> hypotenuse?
>
> Thanks
>
> Terry
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
Regards


Ian McKnight

iangmckni...@gmail.com
===
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: "tsnet (1) Received HTTP/0.9 when not allowed"?

2021-04-04 Thread Andre Garzia via use-livecode
Are you using the time travel external? HTTP/0.9 has been historical for a long 
while, you can see more about this protocol at:

https://medium.com/platform-engineer/evolution-of-http-69cfe6531ba0 


To what server you’re connecting?

> On 31 Mar 2021, at 20:29, Richard Gaskin via use-livecode 
>  wrote:
> 
> I have an LC app that recently started reporting this error when calling a 
> web service we wrote:
> 
>  tsnet (1) Received HTTP/0.9 when not allowed
> 
> 
> Searching around the web I see many varied descriptions of how one might 
> remedy that, but none seem to fit our circumstance.
> 
> Anyone else seen this? What was needed to resolve it?
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Polygons

2021-04-04 Thread Terence Heaford via use-livecode
If I draw a shape using a polygon, as an example assume a right angled triangle.

Is it possible to hide the line between the points that make up the hypotenuse?

Thanks

Terry



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode