Re: Popup Menus

2021-11-03 Thread Bob Sneidar via use-livecode
NVM I solved it. The code may be useful to others. The function popupRect() will return the popup area, not including the button rect, of a button whose longid you pass to it: on menuPick put the mouseLoc into tMouseLoc put popupRect(the long id of me) into tPopupRect if tMouseLoc is

Re: Bug survey

2021-11-03 Thread J. Landman Gay via use-livecode
On 11/3/21 4:03 PM, Mike Kerner via use-livecode wrote: This is the bug where (on mobile) events don't necessarily thread, so if you are in the middle of a handler and you try to jump out by branching to another card (or handler) the current one will continue to execute. I think it also included

Re: Bug survey

2021-11-03 Thread Mike Kerner via use-livecode
oh yeah, and another one I forgot about because I've just dealt with it for so long: silent error fails on mobile - again I don't see it in the bug db any more. On Wed, Nov 3, 2021 at 5:03 PM Mike Kerner wrote: > Does anyone remember the bug number for the mobile event ordering issue? I > can't

Re: Bug survey

2021-11-03 Thread Mike Kerner via use-livecode
Does anyone remember the bug number for the mobile event ordering issue? I can't find it in the bug db and it just bit me so I was going to email LC to modify my list. This is the bug where (on mobile) events don't necessarily thread, so if you are in the middle of a handler and you try to jump

Popup Menus

2021-11-03 Thread Bob Sneidar via use-livecode
Hi all. This is a little difficult to explain. I have a popup menu. The first item in the text of the menu is "New Customer..." so that if I popup the menu then let go somewhere OUTSIDE the rect or the popped up items, menuPick is STILL triggered and the first item in the text of the popup

win 11

2021-11-03 Thread Mike Kerner via use-livecode
anyone screwing with win 11 and lc? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good."

Re: mobile accelerometer

2021-11-03 Thread Mike Kerner via use-livecode
Right - it's the deceleration and delay that I'm hoping I can use to determine that the forklift has stopped moving. And yes, there are simpler ways to do everything - but if I was going for simple, I would have stationary, wired workstations running our ERP software, not a mobile app running on

Re: Lemniscate Polygon

2021-11-03 Thread Bob Sneidar via use-livecode
Ok, you googled that, didn't you?? ;-) Bob S > On Nov 3, 2021, at 24:29 , Mark Waddingham via use-livecode > wrote: > > Hi Roger, > > On 2021-11-02 22:27, Roger Guay via use-livecode wrote: >> Dear List, >> Bernd has produced an absolutely beautiful animation using a >> Lemniskate polygon

Re: Lemniscate Polygon

2021-11-03 Thread Roger Guay via use-livecode
And thank you, Richmond for implementing what for me was overnight. Very nice clean and simple code too!! Roger > On Nov 3, 2021, at 1:39 AM, Richmond via use-livecode > wrote: > > https://forums.livecode.com/viewtopic.php?f=7=36429 > > Richmond. > > On 3.11.21 9:29, Mark Waddingham via

Re: Lemniscate Polygon

2021-11-03 Thread Roger Guay via use-livecode
Thank you, Mark. That was exactly the answer I was looking for! Roger > On Nov 3, 2021, at 12:29 AM, Mark Waddingham via use-livecode > wrote: > > Hi Roger, > > On 2021-11-02 22:27, Roger Guay via use-livecode wrote: >> Dear List, >> Bernd has produced an absolutely beautiful animation using

Re: Lemniscate Polygon

2021-11-03 Thread Richmond via use-livecode
https://forums.livecode.com/viewtopic.php?f=7=36429 Richmond. On 3.11.21 9:29, Mark Waddingham via use-livecode wrote: Hi Roger, On 2021-11-02 22:27, Roger Guay via use-livecode wrote: Dear List, Bernd has produced an absolutely beautiful animation using a Lemniskate polygon that was

Re: Lemniscate Polygon

2021-11-03 Thread Richmond via use-livecode
Hmm: didn't like putA * cos(t) / (1 + sin(t)^2) intoX at all. Mainly because A had not been defined . . . OK: all hunky-dory with  put 200 into A Richmond On 3.11.21 9:29, Mark Waddingham via use-livecode wrote: Hi Roger, On 2021-11-02 22:27, Roger Guay via use-livecode wrote: Dear

Re: Lemniscate Polygon

2021-11-03 Thread Mark Waddingham via use-livecode
Hi Roger, On 2021-11-02 22:27, Roger Guay via use-livecode wrote: Dear List, Bernd has produced an absolutely beautiful animation using a Lemniskate polygon that was previously provided by Hermann Hoch. Can anyone provide some help on how to create this polygon mathematically? Since the