Re: AppstoreConnect : no build available

2020-06-21 Thread Ludovic THEBAULT via use-livecode


> Le 21 juin 2020 à 21:35, J. Landman Gay via use-livecode 
>  a écrit :
> 
> On 6/20/20 12:52 AM, Ludovic THEBAULT via use-livecode wrote:
>> Nothing new this morning.
>> But we are not alone !
> 
> I had a series of unhelpful responses to Apple dev support this weekend. 
> Finally I got an answer: Apps will not process completely unless they have 
> the beta entitlement checked. This is contradictory to the email you receive 
> after processing is complete, which says "You can now use this build for 
> TestFlight testing or submit it to the App Store." Also, the "issue" reported 
> after an upload says that lack of a beta entitlement is a warning and we may 
> want to fix it in the "next version" but it isn't required for this one.


Really silly !

> 
> I just built a new ipa with beta checked in Standalone Settings and it 
> processed and became available in the Build section in the App Store. This 
> undocumented change doesn't care whether you are using TestFlight or not, you 
> must claim it as a beta release regardless.
> 
> I hate dealing with Apple. Our Android app was accepted in about 10 minutes 
> without any problems, and is waiting for us to send it to the store. We've 
> had to rewrite some of the silliest things to appease Apple and have been 
> trying to pass review for the last 2 weeks. And, I should add, the uploads 
> from last week did not require a beta entitlement, nor have any others at any 
> time up to now.


Many thanks for the solution !

Ludovic



___
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


Create expanding field editor in LiveCode 9.6

2020-06-21 Thread Martin Koob via use-livecode
Hi

I am trying to create a data grid where the height of the row expands as the 
user types in the row and adds new lines.  


I have managed to have the data grid row resize when the data is loaded  or the 
data is refreshed with the following handler
in the behaviour script for the row.

on LayoutControl pControlRect, pWorkingRect

## Expand field to fill in available width

put the rect of field "Comments" of me into tVariableHeightTextFieldRect

put item 3 of pControlRect -5 into item 3 of tVariableHeightTextFieldRect

set the rect of field "JudgesComments" of me to tVariableHeightTextFieldRect


## Resize field height to fit content

put item 2 of tVariableHeightTextFieldRect + the formattedheight of field 
"Comments" of me \

into item 4 of tVariableHeightTextFieldRect

set the rect of field "Comments" of me to tVariableHeightTextFieldRect


## Update the bounding rect to match total height

## that you want this row to have

put item 4 of tVariableHeightTextFieldRect into item 4 of pControlRect


## Resize Row to take in text field height

set the rect of graphic "Background" of me to pControlRect

end LayoutControl


Using this when I set the dgData of the DataGrid the row height is set based on 
the formatted height of the “comments” field.

However this does not work dynamically while typing.

I found an answer to this question on stack overflow by LiveCode’s own Monte 
Goulding.
https://stackoverflow.com/questions/15262660/how-do-i-create-an-expanding-field-editor-in-a-livecode-datagrid/62499552#62499552
 


However I wasn’t sure if this still works given that it says to copy the script 
of the field editor behaviour button from the revDataGridLibrary stack.

In LiveCode 9.6 there isn't a revDataGridLibrary stack with a field editor 
behavior button. In LiveCode version 8 the IDE started to be refactored with 
the behaviour buttons on binary stacks changed to script only stacks. 
https://livecode.com/script-only-stacks/

Now, I see there is a script only stack 
"RevDataGridLibraryBehaviorsFieldEditorButtonBehavior".

So instead of copying the button I created a new button on the card with the 
row template and copied the script from the script only stack with the Field 
editor Button’s  b ehaviour to it and then added the code above to that 
button's script.

I then commented out the changes that I made to the layoutControl handler above 
to make sure that didn’t interfere with Monte’s solution.

That did not work.   

Monte’s solutions talks about a field editor being created and used while 
editing the text.   Is this still done in LiveCode 9.6?

If anyone has any suggestions of how to resized a row dynamically while user 
adds lines to a field that would be great.

Also I am trying to update the dgData of the DataGrid and add the new data 
typed by the user, but I can’t get that working either.

Thanks in advance for any help.


Martin Koob


BTW I don’t understand how Stack Overflow works.   I posted this question in 
response to Monte’s answer and it got deleted.  
https://stackoverflow.com/a/62499552/12863578 "This post is hidden. It was 
deleted 3 hours ago by Bhargav Rao♦”.  I thought it was a legitimate question 
relating to the answer,  basically ‘has this answer changed given a new OS?",   
I even provided a link to an article by Mark W explaining the change in the 
move to Script only Stacks in the IDE. I find it a very unfriendly place.   So 
back here to the friendly environment of the use-livecode list.





Martin



___
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: AppstoreConnect : no build available

2020-06-21 Thread J. Landman Gay via use-livecode

On 6/20/20 12:52 AM, Ludovic THEBAULT via use-livecode wrote:


Nothing new this morning.

But we are not alone !


I had a series of unhelpful responses to Apple dev support this weekend. Finally I got an 
answer: Apps will not process completely unless they have the beta entitlement checked. This is 
contradictory to the email you receive after processing is complete, which says "You can now 
use this build for TestFlight testing or submit it to the App Store." Also, the "issue" 
reported after an upload says that lack of a beta entitlement is a warning and we may want to 
fix it in the "next version" but it isn't required for this one.


I just built a new ipa with beta checked in Standalone Settings and it processed and became 
available in the Build section in the App Store. This undocumented change doesn't care whether 
you are using TestFlight or not, you must claim it as a beta release regardless.


I hate dealing with Apple. Our Android app was accepted in about 10 minutes without any 
problems, and is waiting for us to send it to the store. We've had to rewrite some of the 
silliest things to appease Apple and have been trying to pass review for the last 2 weeks. And, 
I should add, the uploads from last week did not require a beta entitlement, nor have any 
others at any time up to now.


--
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: Dismiss Answer Dialog on Android

2020-06-21 Thread J. Landman Gay via use-livecode

Tapping outside the dialog should be the equivalent of Cancel.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On June 21, 2020 11:15:18 AM Dan Friedman via use-livecode 
 wrote:


On android, if you issue an answer command and tap outside the bounds of 
the dialog, it = the last button supplied.  For example:


answer "Are you sure you want to logout?" with "Cancel" or "Logout"

If you tap outside the dialog, the dialog is dismissed and it = "Logout".  
Is this the correct behavior?   Shouldn't tapping outside the dialog do 
nothing, or beep?   I would think you would have to tap one of the choices 
to continue.   Maybe this is standard Android behavior?


Anyone have any insight to this behavior?  Or, is this a bug?

-Dan

___
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


Dismiss Answer Dialog on Android

2020-06-21 Thread Dan Friedman via use-livecode
On android, if you issue an answer command and tap outside the bounds of the 
dialog, it = the last button supplied.  For example:

answer "Are you sure you want to logout?" with "Cancel" or "Logout"

If you tap outside the dialog, the dialog is dismissed and it = "Logout".  Is 
this the correct behavior?   Shouldn't tapping outside the dialog do nothing, 
or beep?   I would think you would have to tap one of the choices to continue.  
 Maybe this is standard Android behavior?

Anyone have any insight to this behavior?  Or, is this a bug?

-Dan

___
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: Browser

2020-06-21 Thread Andrew at MidWest Coast Media via use-livecode

> I am again looking at implementing Javascript charts within a LC browser.
> Looking at amCharts.
> Got a chart displaying easily within the browser widget.
> Tries to print the card but the widget does not print.


I’m using amCharts in another project and ran into the same problem: everything 
looked right in Live view but would disappear when I tried to print a PDF. The 
only way I could get them to appear right was by taking a picture of the 
browser and using that image instead of the live JavaScript in the browser 
(widget). I think hh keyed me into this with his epic knowledge of this tool

  set the width of templateImage to the width of widget "Browser"
  set the height of templateImage to the height of widget "Browser"
  export snapshot from rect globalRect(the rect of widget "Browser") to 
tSnapshot as JPEG
  create image “renderedBrowser"
  set the visible of widget “Browser” to FALSE
  put tSnapshot into image tSnapshotName
  set the name of image tSnapshotName to tSnapshotName
  set the loc of image tSnapshotName to the loc of widget “Browser"

—Andrew Bell
___
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