cancel
Showing results for 
Search instead for 
Did you mean: 

ParentWindow() return Null Object Reference In PB12.6

Former Member
0 Kudos

Hi,

     When I opened a sheet by 'OpenSheetwithParmAsDocument' ,the function ParentWindow() can not return the mdi frame object. But when I use 'OpenSheetwithParm', ParentWindow() can return the mdi frame object. Why?

     //OpenSheetwithParmAsDocument Code

     window lwobj

     OpenSheetwithParmAsDocument( lwobj, '', 'w_1', &

            w_main, String(Today(), "yy-m-d hh:mm")+"_"+ string(Rand(1000))  )

  

     return

     //

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190719
Active Contributor
0 Kudos

You might get better response if you post this over in the PowerBuilder Developer Center.

Former Member
0 Kudos

yes,I had posted here:  http://scn.sap.com/thread/3639998