1. Clarence Chamorro
  2. PowerServer Mobile (Obsolete)
  3. Thursday, 11 April 2019 16:49 PM UTC

I have an App in development (about to put it in production). It was working perfectly fine.

No changes to any window or dw nor anything else and now as soon I double tab in a row to open a detail window Appeon Workspace closes abruptly.  Here the code calling the open of the window and the open event of the window is giving me the problem.

If AppeonGetClientType() = 'PB' Then

//cch do nothing

Else
//cch mobile extension to get the height and width
 eon_mobile_awsex leon_mobile_device
 leon_mobile_device = Create eon_mobile_awsex

 Integer li_screenhight, li_screenWidth

 li_screenhight = leon_mobile_device.of_getworkspaceheight( )
 li_screenwidth = leon_mobile_device.of_getworkspacewidth( )

 If li_screenhight > 0 Then
  gstr_gen.gi_screenhight = li_screenhight
  gstr_gen.gi_screenwidth = li_screenwidth
 Else

  //cch minimum size

  gstr_gen.gi_screenhight = 1824
  gstr_gen.gi_screenwidth = 2532
 End if

  Destroy leon_mobile_device


  //cch instantiate eon_appeon_resize 
  ieon_resize = create eon_appeon_resize
 

  // registers all of the controls contained in this window
  ieon_resize.of_init( this, true)

  //enables font resizing and resizes with the width
  ieon_resize.of_fontresize( true, 2)

  //enables datawindow resizing and resizes with the width
  ieon_resize.of_zoom( true, 2)

  //changes the datawindow resize behavior by keeping x and y coordinates   //unchanged, and scaling to the right edge and to the bottom of the user object     //container.
  ieon_resize.of_setflag( dw_2, '1111')
  ieon_resize.of_setflag( dw_3, '1111')
  ieon_resize.of_setflag( dw_prod_selec, '1111')

  //defines the resize event for the user object, event ID is set to pbm_size
  //Resizes all of the controls contained in the user object
  ieon_resize.of_resize( this, gstr_gen.gi_screenwidth , gstr_gen.gi_screenhight , true)
End If

//cch check if global variable PO is null
If IsNull(gs_ponumber) Then
  MessageBox('PO Issue.','No PO Number.~rPO Detail Will Not Display.',StopSign!)
Else
  dw_2.Of_Retrieve( )
  dw_3.Of_Retrieve( )
End If

The window does not open and Appeon WorkSpace close. It was working good.

The PowerServer version is PowerServer (PB Edition) 2017 R3 Build 1880.00

Appeon PowerBuilder Universal Edition Version 2017 R3 Build 1880 Build on Jan 26 2019 at 06:23:01. I attached a picture of the PB version.

If you can give me an idea what to look for it will be greatly appreciated.

Regards,

Clarence.

Attachments (1)
Mariano Collado @Appeon Accepted Answer Pending Moderation
  1. Monday, 15 April 2019 20:39 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 1

Thanks for notifying the community, Clarence.

Comment
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Monday, 15 April 2019 20:09 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 2

No worries, Ckarence! This happens to everyone.  :)

Olan

 

Comment
There are no comments made yet.
Clarence Chamorro Accepted Answer Pending Moderation
  1. Saturday, 13 April 2019 12:06 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 3

I have to apologize to all of you. I found the issue. I removed a column and the column was being used in the itemchanged event. Remove column and everything back to normality. 

Thanks.  You guys are the best.

Comment
There are no comments made yet.
Clarence Chamorro Accepted Answer Pending Moderation
  1. Thursday, 11 April 2019 17:30 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 4

iOs - Appeon WorkSpace Build 1988.00

Android - Appeon WorkSpace Build 1689

Comment
  1. Mariano Collado @Appeon
  2. Thursday, 11 April 2019 17:31 PM UTC
Hi Clarence,

I've responded on your other Community post.
  1. Helpful
There are no comments made yet.
Mariano Collado @Appeon Accepted Answer Pending Moderation
  1. Thursday, 11 April 2019 17:05 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 5

Hi Clarence,

Please inform us on the version of the Appeon Workspace you are using and on which platform (iOS or Android).

Comment
  1. Mariano Collado @Appeon
  2. Thursday, 11 April 2019 17:34 PM UTC
Is the problem occurring in both iOS and Android deployments?
  1. Helpful
  1. Clarence Chamorro
  2. Thursday, 11 April 2019 17:41 PM UTC
I can not test the iOS because the Workspace incompatibility. Until I learn how to deploy to the Apple Store.
  1. Helpful
  1. Mariano Collado @Appeon
  2. Thursday, 11 April 2019 20:41 PM UTC
Ok, we narrowed down the issue to opening a detail window in a PowerServer Mobile app using Appeon PowerServer 2017 Build 1756.00 64-bit Edition on Appeon WorkSpace Build 1689.



I recommend doing a full build of your app and re-deploy it.

I also suggest you download the appropriate version of your Android Workspace here: http://localhost/AWS/downloadaws.html and test your app using this workspace.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.