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