Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Re: Passing datastore (populated) to a new window via Message - null object ref?

$
0
0

Hi Vlad;

 

   You are correct ... focus on the DS pointer through PowerObjectParm ... it should work AND I use this technique all the time.

 

1)  You can use your original code if the Window is already instantiated.

2)  If the Window is not instantiated you have to use the OpenWithParm ()

3)  The  PFC_PreOpen event is the same as the Window open event as the PFC triggers this from the Open event. So trapping the value in PowerObjectParm at this point is definitely OK.

 

 

Regards ... Chris


Viewing all articles
Browse latest Browse all 9159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>