Re: Segmented Control Widget

2020-11-09 Thread Terence Heaford via use-livecode
I will give this a try.

It’s a shame that widgets always seem to be incomplete in one way or another.

Thanks for your help.

All the best

Terry



> On 9 Nov 2020, at 16:52, Bob Sneidar via use-livecode 
>  wrote:
> 
> In my custom tabbed object group, I had to put transparent buttons over the 
> tabs

___
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: Windows startup issue

2020-11-09 Thread Richard Gaskin via use-livecode

J. Landman Gay wrote:

> On 11/9/20 3:54 PM, Richard Gaskin via use-livecode wrote:
>> And WTH happened to LC's error reporting dialog?
>
> Standalones have always reported this way on both desktop and mobile.
> It is up to the developer to include the translated references if
> they want to see those. Generally I don't bother, I provide the
> optional built-in ability to send email to support or save a file.
> I can translate the numbers myself since the meanings usually mean
> nothing to the end-user anyway.

I've been using my own error-reporting for so long I can't recall seeing 
the default standalone handling.


I have made a couple of quickies where I just used LC's error reporting, 
but clumsy as that design is at least the output from the "Send Report" 
button is more useful than the raw list of triplet integers.


How has such ungraceful error handling become acceptable?

Why is the least useful thing the easiest for new developers to do?

Shouldn't it be easy for LC devs to deliver a great application experience?

--
 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


Re: Windows startup issue

2020-11-09 Thread J. Landman Gay via use-livecode
That should work, I don't see anything in those three lines that would fail -- except maybe if 
"the fontnames" couldn't be retrieved on that machine. It almost looks like the engine thinks 
"the fontnames" is a custom function since it's reporting it can't find the handler.


I'm not sure how you'd fix that. I suppose you could wrap the clause in a "try" structure and 
if it errors, assume the font isn't there.



On 11/9/20 4:10 PM, Marty Knapp via use-livecode wrote:

The errors show up in a dialog window.

The section of code referenced is just checking the status a a custom font. On 
Windows we install the font with an Inno installer (and on Mac we just start 
using an embedded font). Here's my code with the line numbers added. 67 being 
referenced several times in the error:

67) if "MyCustomeFontName" is in the fontNames then
68)   put "installed" into tFontStatus
69) else put "loaded" into tFontStatus

---
Marty


On Nov 9, 2020, at 1:54 PM, Richard Gaskin via use-livecode 
 wrote:

Marty Knapp wrote:


I have a customer who is having a weird issue with a Windows app built in LC 
(9.6.1). It worked fine for about a month, it works fine here for me all the 
time and it works fine for all our other customers.
On startup is begins to launch then gets a bunch of errors:
269,76,1
262,67,1
252,67,1
241,67,1
353,0,0
573,68,1
253,68,1
241,67,1
353,0,0


Where do those appear?

And WTH happened to LC's error reporting dialog?

I see more and more error info reports like this in recent years. Presenting 
anything like this to either devs or end-users is a horrible experience.

We can do better.

--
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




--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Windows startup issue

2020-11-09 Thread J. Landman Gay via use-livecode

On 11/9/20 3:54 PM, Richard Gaskin via use-livecode wrote:

Where do those appear?

And WTH happened to LC's error reporting dialog?


Standalones have always reported this way on both desktop and mobile. It is up to the developer 
to include the translated references if they want to see those. Generally I don't bother, I 
provide the optional built-in ability to send email to support or save a file. I can translate 
the numbers myself since the meanings usually mean nothing to the end-user anyway.


The IDE does still translate for us.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Windows startup issue

2020-11-09 Thread Marty Knapp via use-livecode
The errors show up in a dialog window.

The section of code referenced is just checking the status a a custom font. On 
Windows we install the font with an Inno installer (and on Mac we just start 
using an embedded font). Here's my code with the line numbers added. 67 being 
referenced several times in the error:

67) if "MyCustomeFontName" is in the fontNames then
68)   put "installed" into tFontStatus
69) else put "loaded" into tFontStatus

---
Marty

> On Nov 9, 2020, at 1:54 PM, Richard Gaskin via use-livecode 
>  wrote:
> 
> Marty Knapp wrote:
> 
>> I have a customer who is having a weird issue with a Windows app built in LC 
>> (9.6.1). It worked fine for about a month, it works fine here for me all the 
>> time and it works fine for all our other customers.
>> On startup is begins to launch then gets a bunch of errors:
>> 269,76,1
>> 262,67,1
>> 252,67,1
>> 241,67,1
>> 353,0,0
>> 573,68,1
>> 253,68,1
>> 241,67,1
>> 353,0,0
> 
> Where do those appear?
> 
> And WTH happened to LC's error reporting dialog?
> 
> I see more and more error info reports like this in recent years. Presenting 
> anything like this to either devs or end-users is a horrible experience.
> 
> We can do better.
> 
> -- 
> 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


Re: Code Signing and Kernel Mode drivers

2020-11-09 Thread General 2018 via use-livecode
Great thanks !

Regards Cam

> On 8 Nov 2020, at 18:06, Paul Dupuis via use-livecode 
>  wrote:
> 
> The basic windows code signing cert works fine. You do not need the more 
> expensive "EV" certificate.
> 
>> On 11/8/2020 12:58 PM, General 2018 via use-livecode wrote:
>> Hi ,
>> 
>> Are the standard Livecode .dll that are included with the standalone Kernel 
>> mode drivers ??
>> 
>> The reason for asking is that codesigning for Windows 10 needs a more 
>> expensive certificate if kernel mode drivers signing is required.
>> 
>> Regards
>> Cam
>> ___
>> 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: Windows startup issue

2020-11-09 Thread Richard Gaskin via use-livecode

Marty Knapp wrote:


I have a customer who is having a weird issue with a Windows app built in LC 
(9.6.1). It worked fine for about a month, it works fine here for me all the 
time and it works fine for all our other customers.

On startup is begins to launch then gets a bunch of errors:

269,76,1
262,67,1
252,67,1
241,67,1
353,0,0
573,68,1
253,68,1
241,67,1
353,0,0


Where do those appear?

And WTH happened to LC's error reporting dialog?

I see more and more error info reports like this in recent years. 
Presenting anything like this to either devs or end-users is a horrible 
experience.


We can do better.

--
 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


Re: Windows startup issue

2020-11-09 Thread J. Landman Gay via use-livecode
Right, the first number is the error code and the second is the line number in the script. It 
does look like a permissions error:


269 Operators is: error in right operand
262 import: can't open file, mask file or display
252 if-then: error in condition expression
241 Handler: error in statement
353 Object Name:
573 Handler: can't find handler
253 if-then: error in statement
241 Handler: error in statement
353 Object Name:

The top line is the one that is usually the main error, the second line in this case indicates 
a file couldn't be opened. The remainder of the lines indicate the message path that led to the 
error, in reverse order.


The list was generated by a free utility called "LiveCode Lookup Errors" which you can find in 
Sample Stacks in LC's tool bar.



On 11/9/20 3:27 PM, Paul Dupuis via use-livecode wrote:
The first things is to determine what the error codes mean. I forget off teh top of my head, 
but I things of the first 2 numbers one is a line number and the other an error code?


Hopefully someone can chime in who knows for sure. Knowing the errors will tell you more about 
what the likely cause may be.


I suspect it is some sort of permissions issue. In all most all instances where we have run 
into a weird startup issue with just one customer, it has turned out to be permissions related. 
For example, does you application create any preferences or license files or temporary files? 
Or try to save anything to disk behind the scenes (i.e. not a user driven file save dialog)? If 
so, chances are the place you are trying to write to is read-only.


It could be many other things, but this has been the most common issue like 
this we've run into.


On 11/9/2020 4:10 PM, Marty Knapp via use-livecode wrote:
I have a customer who is having a weird issue with a Windows app built in LC (9.6.1). It 
worked fine for about a month, it works fine here for me all the time and it works fine for 
all our other customers.


On startup is begins to launch then gets a bunch of errors:

269,76,1
262,67,1
252,67,1
241,67,1
353,0,0
573,68,1
253,68,1
241,67,1
353,0,0

But it only happens for this *one* person. They have the latest version of Windows 10, have 
tried multiple installs and uninstalls, turned off virus software, etc. I have downloaded 
from the same link I've sent him, installed and it runs fine for me and all our other customers.


I know it's along shot, but has anybody seen anything like this or offer any 
advice?
---
Marty
___
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



--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Windows startup issue

2020-11-09 Thread Paul Dupuis via use-livecode
The first things is to determine what the error codes mean. I forget off 
teh top of my head, but I things of the first 2 numbers one is a line 
number and the other an error code?


Hopefully someone can chime in who knows for sure. Knowing the errors 
will tell you more about what the likely cause may be.


I suspect it is some sort of permissions issue. In all most all 
instances where we have run into a weird startup issue with just one 
customer, it has turned out to be permissions related. For example, does 
you application create any preferences or license files or temporary 
files? Or try to save anything to disk behind the scenes (i.e. not a 
user driven file save dialog)? If so, chances are the place you are 
trying to write to is read-only.


It could be many other things, but this has been the most common issue 
like this we've run into.



On 11/9/2020 4:10 PM, Marty Knapp via use-livecode wrote:

I have a customer who is having a weird issue with a Windows app built in LC 
(9.6.1). It worked fine for about a month, it works fine here for me all the 
time and it works fine for all our other customers.

On startup is begins to launch then gets a bunch of errors:

269,76,1
262,67,1
252,67,1
241,67,1
353,0,0
573,68,1
253,68,1
241,67,1
353,0,0

But it only happens for this *one* person. They have the latest version of 
Windows 10, have tried multiple installs and uninstalls, turned off virus 
software, etc. I have downloaded from the same link I've sent him, installed 
and it runs fine for me and all our other customers.

I know it's along shot, but has anybody seen anything like this or offer any 
advice?
---
Marty
___
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


Windows startup issue

2020-11-09 Thread Marty Knapp via use-livecode
I have a customer who is having a weird issue with a Windows app built in LC 
(9.6.1). It worked fine for about a month, it works fine here for me all the 
time and it works fine for all our other customers.

On startup is begins to launch then gets a bunch of errors:

269,76,1
262,67,1
252,67,1
241,67,1
353,0,0
573,68,1
253,68,1
241,67,1
353,0,0

But it only happens for this *one* person. They have the latest version of 
Windows 10, have tried multiple installs and uninstalls, turned off virus 
software, etc. I have downloaded from the same link I've sent him, installed 
and it runs fine for me and all our other customers.

I know it's along shot, but has anybody seen anything like this or offer any 
advice?
---
Marty
___
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: New Google PlayStore Console

2020-11-09 Thread J. Landman Gay via use-livecode
I *think* I was using the "new and improved" console when I submitted but I can't be positive. 
I did switch over before the deadline but I did some hopping back and forth and can't quite 
remember which I was using when I finally hit the Submit button. I don't care for the change, 
to be honest. I thought they were unimprovements.


On 11/9/20 1:48 PM, Ralph DiMola via use-livecode wrote:

I submitted a week earlier with the same widgets/externals using the
"classic" console and only received the first one. This seems to be
connected to the "new and improved" console.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Monday, November 09, 2020 12:45 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: RE: New Google PlayStore Console

I've never seen the last two, but that might imply you're using widgets or
other extensions I've never used. The last submission I made about a month
ago only got the first one.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |
http://www.hyperactivesw.com On November 9, 2020 8:12:57 AM Ralph DiMola via
use-livecode  wrote:


No it isn't. Apparently no one on the list has any input on the
implications of this is. I will have to take this to the mother ship
and file a QCC report.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
Behalf Of Riko Abadi via use-livecode
Sent: Monday, November 09, 2020 7:17 AM
To: How to use LiveCode
Cc: Riko Abadi
Subject: Re: New Google PlayStore Console

Hai Ralph,

whether this problem has been resolved?

.

Pada tanggal Jum, 6 Nov 2020 00.46, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> menulis:


I received these 3 warnings when uploading APKs using the new Google
Play Console. The first one I've been seeing for a while. Anyone know
about the last 2? I assume the second one is LCs use of the JVM.

Warning
This APK results in unused code and resources being sent to users.
Your app could be smaller if you used the Android App Bundle. By not
optimizing your app for device configurations, your app is larger to
download and install on users' devices than it needs to be. Larger
apps see lower install success rates and take up storage on users'

devices.


Warning
This APK contains Java/Kotlin code, which might be obfuscated. We
recommend you upload a deobfuscation file to make your crashes and
ANRs easier to analyze and debug. Learn More

Warning
This APK contains native code, and you've not uploaded debug symbols.
We recommend you upload a symbol file to make your crashes and ANRs
easier to analyze and debug. Learn More

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net




--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: New Google PlayStore Console

2020-11-09 Thread Ralph DiMola via use-livecode
I submitted a week earlier with the same widgets/externals using the
"classic" console and only received the first one. This seems to be
connected to the "new and improved" console.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Monday, November 09, 2020 12:45 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: RE: New Google PlayStore Console

I've never seen the last two, but that might imply you're using widgets or
other extensions I've never used. The last submission I made about a month
ago only got the first one.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |
http://www.hyperactivesw.com On November 9, 2020 8:12:57 AM Ralph DiMola via
use-livecode  wrote:

> No it isn't. Apparently no one on the list has any input on the 
> implications of this is. I will have to take this to the mother ship 
> and file a QCC report.
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On 
> Behalf Of Riko Abadi via use-livecode
> Sent: Monday, November 09, 2020 7:17 AM
> To: How to use LiveCode
> Cc: Riko Abadi
> Subject: Re: New Google PlayStore Console
>
> Hai Ralph,
>
> whether this problem has been resolved?
>
> .
>
> Pada tanggal Jum, 6 Nov 2020 00.46, Ralph DiMola via use-livecode < 
> use-livecode@lists.runrev.com> menulis:
>
>> I received these 3 warnings when uploading APKs using the new Google 
>> Play Console. The first one I've been seeing for a while. Anyone know 
>> about the last 2? I assume the second one is LCs use of the JVM.
>>
>> Warning
>> This APK results in unused code and resources being sent to users.
>> Your app could be smaller if you used the Android App Bundle. By not 
>> optimizing your app for device configurations, your app is larger to 
>> download and install on users' devices than it needs to be. Larger 
>> apps see lower install success rates and take up storage on users'
> devices.
>>
>> Warning
>> This APK contains Java/Kotlin code, which might be obfuscated. We 
>> recommend you upload a deobfuscation file to make your crashes and 
>> ANRs easier to analyze and debug. Learn More
>>
>> Warning
>> This APK contains native code, and you've not uploaded debug symbols.
>> We recommend you upload a symbol file to make your crashes and ANRs 
>> easier to analyze and debug. Learn More
>>
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdim...@evergreeninfo.net
>>
>>
>> ___
>> 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


___
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


[ANN] This Week in LiveCode 244

2020-11-09 Thread panagiotis merakos via use-livecode
Hi all,

Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

Read issue #244 here: https://bit.ly/3naApUe

This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around the open source project. New issues will be
released weekly on Mondays. We have a dedicated mailing list that will
deliver each issue directly to your e-mail, so you don't miss any!

If you have anything you'd like mentioned (a project, a discussion
somewhere, an upcoming event) then please get in touch.


-- 
Panagiotis Merakos 
LiveCode Software Developer

Everyone Can Create Apps 
___
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: New Google PlayStore Console

2020-11-09 Thread J. Landman Gay via use-livecode
I've never seen the last two, but that might imply you're using widgets or 
other extensions I've never used. The last submission I made about a month 
ago only got the first one.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On November 9, 2020 8:12:57 AM Ralph DiMola via use-livecode 
 wrote:



No it isn't. Apparently no one on the list has any input on the implications
of this is. I will have to take this to the mother ship and file a QCC
report.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Riko Abadi via use-livecode
Sent: Monday, November 09, 2020 7:17 AM
To: How to use LiveCode
Cc: Riko Abadi
Subject: Re: New Google PlayStore Console

Hai Ralph,

whether this problem has been resolved?

.

Pada tanggal Jum, 6 Nov 2020 00.46, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> menulis:


I received these 3 warnings when uploading APKs using the new Google
Play Console. The first one I've been seeing for a while. Anyone know
about the last 2? I assume the second one is LCs use of the JVM.

Warning
This APK results in unused code and resources being sent to users.
Your app could be smaller if you used the Android App Bundle. By not
optimizing your app for device configurations, your app is larger to
download and install on users' devices than it needs to be. Larger
apps see lower install success rates and take up storage on users'

devices.


Warning
This APK contains Java/Kotlin code, which might be obfuscated. We
recommend you upload a deobfuscation file to make your crashes and
ANRs easier to analyze and debug. Learn More

Warning
This APK contains native code, and you've not uploaded debug symbols.
We recommend you upload a symbol file to make your crashes and ANRs
easier to analyze and debug. Learn More

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
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: The Most Stupid Question Ever?

2020-11-09 Thread Bob Sneidar via use-livecode
I have seen this sort of thing before with the wait command. Very frustrating. 
Apparently Livecode is not *strictly* single threaded. 

Bob S


> On Nov 8, 2020, at 22:31 , Roger Guay via use-livecode 
>  wrote:
> 
> Thank you, Mark. You’re very kind! And very helpful. I do remember now how 
> one needs to wait with messages.
> 
> Roger
> 
>> On Nov 8, 2020, at 9:05 PM, Mark Wieder via use-livecode 
>>  wrote:
>> 
>> On 11/8/20 8:02 PM, Mark Wieder via use-livecode wrote:
>>> On 11/8/20 6:57 PM, Roger Guay via use-livecode wrote:
 Please tell me why this doesn’t work:
>> 
>> ...and that is, btw, hardly a stupid question.
>> You want stupid you'll have to get in line after me.
>> 
>> -- 
>> 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
> 
> ___
> 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: Is the DateFormat read only?

2020-11-09 Thread Bob Sneidar via use-livecode
Your code contains a smart quote and an em dash. This works:

function fUTCTime
   local t1,t2,t3
   -- this gets the current time and puts it into UTC format, i.e 
-MM-DDThh:mm:ssTZD
   put word 5 to 6 of the internet date into t3 -- we are interested in the 
time and time zone
   put the long time into t1
   convert t1 to dateItems -- format is ,m,d,h,m,s,day no.
   put (item 1 of t1) & "-" & f2digits(item 2 of t1) & "-" & f2digits(item 3 of 
t1) &"T" & word 1 of t3 into t2
   put word 2 of t3 into t1 -- the time zone indication
   get char 1 of t1 -- the code for 0 (zero) is Z, apparently
   
   if it <> "+" and it <> "-" then
   put "Z" after t2
else
   put t1 after t2
end if

return t2
end fUTCTime

function f2digits theNum
-- add a leading zero. We don't check if there are more than two digits
  if number of chars of theNum = 1 then
 return ("0" & theNum)
  else
 return theNum
  end if
end f2digits

Bob S

> On Nov 7, 2020, at 02:27 , Graham Samuel via use-livecode 
>  wrote:
> 
> function fUTCTime
>   local t1,t2,t3
>   -- this gets the current time and puts it into UTC format, i.e 
> -MM-DDThh:mm:ssTZD
>   put word 5 to 6 of the internet date into t3 -- we are interested in the 
> time and time zone
>   put the long time into t1
>   convert t1 to dateItems -- format is ,m,d,h,m,s,day no.
>   put (item 1 of t1) & "-" & f2digits(item 2 of t1) & "-" & f2digits(item 3 
> of t1) &"T" & word 1 of t3 into t2
>   put word 2 of t3 into t1 -- the time zone indication
>   get char 1 of t1 — the code for 0 (zero) is Z, apparently
>   if it <> "+" and it <> "-“ then
>  put "Z" after t2
>   else
>  put t1 after t2
>   end if
>   return t2
> end fUTCTime
> 
> function f2digits theNum
> -- add a leading zero. We don't check if there are more than two digits
>   if number of chars of theNum = 1 then
>  return ("0" & theNum)
>   else
>  return theNum
>   end if
> end f2digits
> 
> 
>> On 7 Nov 2020, at 01:34, Alex Tweedly via use-livecode 
>>  wrote:
>> 
>> I don't think it "strips" the TZ info - it simply ignores it. I think the 
>> key phrase is in the dictionary as :
>> 
>>> *Note:* The *convert* command assumes all dates / times are in local time 
>>> except for 'the seconds', which is taken to be universal time.
>>> 
>> So it assume syou date is in local time (regardless of the +0300), and 
>> therefore your example returns + for you (I assume you're in the UK, or 
>> equivalent,  now). It does the same for me, and returns the date with 
>> "+".
>> 
>> However, the same code run on my LC server (wherever on-rev is these days), 
>> changes the +0300 to -0500 - i.e. it's taken as local time where the server 
>> is.
>> 
>> 
>> I assume you should be able to do something with the TimeZone library - but 
>> I'm struggling to figure that out.
>> 
>>>   local tNow
>>>   put the seconds into tNow
>>>   put FromUniversalTime(tNow,"US/Central") into tt
>>>   put tNow && tt
>>>   put FromUniversalTime(tNow,"US/Alaska") into tt
>>>   put CR & tt after msg
>> gives me
>> 
>> 1604709030 1604709030
>> 
>> 1604709030
>> 
>> so I don't have a clue  what it was trying to do !?!
>> 
>> Alex.
>> 
>> On 06/11/2020 21:28, David Bovill via use-livecode wrote:
>>> Why does:
>>> 
>>> get "Fri, 06 Nov 2020 10:57:37 +0300"
>>> convert it to internet date
>>> put it
>>> 
>>> — give
>>> "Fri, 06 Nov 2020 10:57:37 +"
>>> 
>>> Just seems to strip the timezone info?
>>> On 30 Oct 2020, 21:29 +, How to use LiveCode 
>>> , wrote:
 ToUniversalTime
>>> ___
>>> 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: Segmented Control Widget

2020-11-09 Thread Bob Sneidar via use-livecode
I believe so. In my custom tabbed object group, I had to put transparent 
buttons over the tabs, then have a way to size and rearrange the buttons to 
match the size of the tabs, just so I could get it to respond to mouse messages 
and drag/drop operations. It's so ugly it's cute. Like a shar-pei. 

Bob S


> On Nov 7, 2020, at 24:39 , Terence Heaford via use-livecode 
>  wrote:
> 
> 
> 
>> 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 rectangles 
>> to see which one it's in. Then set the tooltip to the appropriate string. 
>> You can also add a mouseMove handler to do the same thing if you want to 
>> change tooltips as the mouseLoc changes inside the widget.
> 
> 
> I placed the segmented control widget in a group and put a simple
> 
> on mouseEnter
> beep
> end mouseEnter
> 
> in the script of the group.
> 
> This did not implement a beep sound.
> I placed the same script in the segmented control and that did not make a 
> beep either.
> 
> 
> I read the dictionary for mouseEnter and it does not apply to a group, I 
> assume it also does not apply to the segmented control widget.
> 
> 
> I then created three standard buttons and placed those in a group.
> Placed the above script in the group.
> and each time the mouse entered a button it beeped. It did not beep upon 
> entering the group.
> 
> Is all this the correct behaviour?
> 
> If it is then it is not possible to create your own tooltip for a segmented 
> control widget unless there is some more fiddling that can be done.
> 
> It seems creating your own segmented control may be the only solution.
> 
> Any ideas
> 
> 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


___
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: New Google PlayStore Console

2020-11-09 Thread Ralph DiMola via use-livecode
No it isn't. Apparently no one on the list has any input on the implications
of this is. I will have to take this to the mother ship and file a QCC
report.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Riko Abadi via use-livecode
Sent: Monday, November 09, 2020 7:17 AM
To: How to use LiveCode
Cc: Riko Abadi
Subject: Re: New Google PlayStore Console

Hai Ralph,

whether this problem has been resolved?

.

Pada tanggal Jum, 6 Nov 2020 00.46, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> menulis:

> I received these 3 warnings when uploading APKs using the new Google 
> Play Console. The first one I've been seeing for a while. Anyone know 
> about the last 2? I assume the second one is LCs use of the JVM.
>
> Warning
> This APK results in unused code and resources being sent to users. 
> Your app could be smaller if you used the Android App Bundle. By not 
> optimizing your app for device configurations, your app is larger to 
> download and install on users' devices than it needs to be. Larger 
> apps see lower install success rates and take up storage on users'
devices.
>
> Warning
> This APK contains Java/Kotlin code, which might be obfuscated. We 
> recommend you upload a deobfuscation file to make your crashes and 
> ANRs easier to analyze and debug. Learn More
>
> Warning
> This APK contains native code, and you've not uploaded debug symbols. 
> We recommend you upload a symbol file to make your crashes and ANRs 
> easier to analyze and debug. Learn More
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> ___
> 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: New Google PlayStore Console

2020-11-09 Thread Riko Abadi via use-livecode
Hai Ralph,

whether this problem has been resolved?

.

Pada tanggal Jum, 6 Nov 2020 00.46, Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com> menulis:

> I received these 3 warnings when uploading APKs using the new Google Play
> Console. The first one I've been seeing for a while. Anyone know about the
> last 2? I assume the second one is LCs use of the JVM.
>
> Warning
> This APK results in unused code and resources being sent to users. Your
> app could be smaller if you used the Android App Bundle. By not optimizing
> your app for device configurations, your app is larger to download and
> install on users' devices than it needs to be. Larger apps see lower
> install success rates and take up storage on users' devices.
>
> Warning
> This APK contains Java/Kotlin code, which might be obfuscated. We
> recommend you upload a deobfuscation file to make your crashes and ANRs
> easier to analyze and debug. Learn More
>
> Warning
> This APK contains native code, and you've not uploaded debug symbols. We
> recommend you upload a symbol file to make your crashes and ANRs easier to
> analyze and debug. Learn More
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
>
>
> ___
> 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