On 9/16/2011 9:26 AM, James E Harvey wrote: > XFRX support resolution. > > Martin got back to me on my two issues. > > 1. I added the icon bitmaps into my project rebuilt the exe and now the > icons appear as expected. > > 2. Currently there is no way to substitute a randomly generated > filename for the output when a user chooses to export the report, or to have > a different default folder other than the working folder. He said he would > take a look to see how that could be accomplished. > > Thanks again for all your help and suggestions. > > Here is the code I use to take advantage of the XFRX report previewer. > > > Local loSession, lnRetval, lcPageCaption > > mreport = "hsrpissue" > > toViewer = Createobject("frmMPPreviewer") > > loSession=Evaluate([xfrx("XFRX#LISTENER")]) > > lnRetval = loSession.SetParams(,,,,,,"XFF") > > > If lnRetval = 0 > Report Form&mreport Object loSession > Endif > > toViewer.iTool = 2 > toViewer.showstatus = .T. > > Local loXFFDocument > > loXFFDocument = loSession.oxfdocument > > toViewer.previewXFF(loXFFDocument, lcPageCaption) > > If toViewer.Visible = .F. > toViewer.Show(1) > ENDIF
I've got an older version of XFRX. I wonder when this previewer was added? Will make a note to try your code in my app. Thanks! -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/4e7a5ac5.50...@mbsoftwaresolutions.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.