Here is what I would do
loSession=Evaluate([xfrx("XFRX#LISTENER")])
lnRetval = loSession.SetParams(,,,,,,"PDF") If lnRetval = 0
Do Case
Case tnReportType = 1
IF EMPTY(trcask589)
Report Form (winreport) Object loSession
ELSE
Report Form (winreport) &trcask589 Object loSession
ENDIF
Endcase
Endif
toViewer.iTool = 2 && we are using the "fake" toolbar
LOCAL loXFFDocument
loXFFDocument = loSession.oxfdocument
SET STEP ON
* In the debugger, checkout the toViewer object and see if it has a WindowState
property. If so, set
it to the proper setting you want.
toViewer.previewXFF(loXFFDocument, lcPageCaption)
If toViewer.Visible = .F.
toViewer.Show(1)
Endif
Rick
White Light Computing, Inc.
www.whitelightcomputing.com
www.swfox.net
www.rickschummer.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sytze de Boer
Sent: Saturday, June 21, 2008 02:53 AM
To: [EMAIL PROTECTED]
Subject: Re: VFP9 S/totals on report
Yes, I did email eqeus. No response. Yes, my sub is up-t-date
This was my oroginal question:
I use XFRX (one of the best add-on tools I've ever bought)
I'm not sure what code I need to post here to highlight my question, but
when I display the report on screen, I want it MAXIMISED without having to
click the maxmise button in top right hand corner
Here is SOME of the code
loSession=Evaluate([xfrx("XFRX#LISTENER")])
lnRetval = loSession.SetParams(,,,,,,"PDF")
If lnRetval = 0
Do Case
Case tnReportType = 1
IF EMPTY(trcask589)
Report Form (winreport) Object loSession
ELSE
Report Form (winreport) &trcask589 Object loSession
ENDIF
Endcase
Endif
toViewer.iTool = 2 && we are using the "fake" toolbar
LOCAL loXFFDocument
loXFFDocument = loSession.oxfdocument
toViewer.previewXFF(loXFFDocument, lcPageCaption)
If toViewer.Visible = .F.
toViewer.Show(1)
Endif
On Sat, Jun 21, 2008 at 5:09 PM, Rick Schummer <
[EMAIL PROTECTED]> wrote:
> >> By the way, did you spot my earlier question to do with XFRX and
> maximnising
> the screen. I had hopes you might have steered me.<<
>
> I can't find a message on maximizing the XFRX screen on this forum. I
> searched the documentation and
> don't see the technique documented and it is not on the site FAQ.
>
> Have you emailed [EMAIL PROTECTED]
>
> Rick
> White Light Computing, Inc.
>
> www.whitelightcomputing.com
> www.swfox.net
> www.rickschummer.com
>
>
>
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
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/[EMAIL PROTECTED]
** 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.