Issue with 'beep' on iOS

2020-11-07 Thread Graham Samuel via use-livecode
In my iOS app, I create a special beep sound, as explained in the LC Dictionary entry for ‘beep’. It works fine on the Simulator, but on a real phone, there’s no sound. Vibration works OK. I have not turned off sound on the phone, and I have checked to see if any other controls on the phone

Re: Segmented Control Widget

2020-11-07 Thread Terence Heaford via use-livecode
> On 5 Nov 2020, at 20:10, J. Landman Gay via use-livecode > wrote: > > I've done this with a custom control group, it should work with a widget too. > Calculate the rectangles (or at least the left and right edges) of each > segment and in a mouseEnter handler compare the mouseLoc to the

Re: Is the DateFormat read only?

2020-11-07 Thread Graham Samuel via use-livecode
I am as confused as anyone else as to what you are trying to do, but just in case, this little function seems to work for me to get the ’standard’ UTC date format which I have to use in my app to put time stamps into GPX files. It apparently produces the correct time zone. Doubtless it could be

Re: IOS Screen resizing /EXACT FIT not working as before

2020-11-07 Thread Andrew at MidWest Coast Media via use-livecode
I’m having a similar issue with “letterbox” on an a project. It has fit fine for years: exact fit on older devices with black bars on top/bottom of newer devices. But when I rebuild now, it shows black bars on all 4 sides of an iPhone 11. (old build currently on AppStore renders just on

Re: IOS Screen resizing /EXACT FIT not working as before

2020-11-07 Thread Lagi Pittas via use-livecode
Hi I was told today that the App is unusable on smaller iphones on which it was originally designed - ny smaller I mean 6 and 7 It is usable on the bigger screens (albeit it looks "wrong") but a lot of people still stick with smaller screens. Lagi On Sat, 7 Nov 2020 at 14:18, Andrew at

Re: Is the DateFormat read only?

2020-11-07 Thread Alex Tweedly via use-livecode
Thanks Graham. That does indeed work - on your local system. The issue I am trying to deal with (and maybe it's related to what David is doing) is dealing with time zone issues on a LC web server. If you want to timestamp when some event happens, you can do that as a UTC timestamp using a

Re: Is the DateFormat read only?

2020-11-07 Thread matthias rebbe via use-livecode
Alex, i've posted already some info about how to use the time zone library in Livecode server in my comment to David's post "Aw: Basic question: Time Zone Library". Here it is again and a little bit more detailed. 1. copy the folder com.livecode.library.timezone from the LC extensions folder

Re: Is the DateFormat read only?

2020-11-07 Thread Alex Tweedly via use-livecode
Thank you Matthias. Those detailed instructions will come in handy for me - when/if I get that far. The problem I mentioned a couple of emails ago in this thread was in the IDE - haven\t yet got as far as doing it on the server. I tested out the TimeZone library with a couple of randomly

Re: Basic question: Time Zone Library

2020-11-07 Thread David Bovill via use-livecode
Thanks Matthias - very helpful. Looks like there is no dictionary entry for revLibraryMapping :( On 6 Nov 2020, 23:11 +, matthias rebbe via use-livecode , wrote: > Hi, > > i am not sure if this is still the way how to do it with newer LC Server > versions, but at least it still works with

Re: Is the DateFormat read only?

2020-11-07 Thread David Bovill via use-livecode
Looks like a bug to me. So I’d say yes? I’m pretty puzzled why convert does not work with internet date. It seems a bit of a waste to make the internet date a format that you can only display and not   manipulate? Tests here indicate that converting an internet date to seconds makes no