Since upgrading our distributed software to VFP9 (from VFP8), we are seeing a frequent strange behavior in the Print Preview in many of our viewable reports.
For a split-second, before the actual Report is previewed on the screen, there is a flash of one of the screen objects selection boxes on the screen. (You know the sizeable selection box that is normally around a selected object in the Report Designer.)
It is not causing a problem, but it looks tacky.
Any ideas? It doesn't occur in VFP8.
Here is an extract of the typical code we use when the user selects the VIEW button on a report:
CASE PrtOrView = "V"
oRepForm = CREATEOBJECT("Form")
WITH oRepForm
.Caption = "Client Listing"
.WindowState = 2 &&This will maximize the form
.Show()
ENDWITH
REPORT FORM (Thisform.FRXname) TO PRINTER PROMPT PREVIEW WINDOW (oRepForm.Name)
oRepForm.Release()
For a split-second, before the actual Report is previewed on the screen, there is a flash of one of the screen objects selection boxes on the screen. (You know the sizeable selection box that is normally around a selected object in the Report Designer.)
It is not causing a problem, but it looks tacky.
Any ideas? It doesn't occur in VFP8.
Here is an extract of the typical code we use when the user selects the VIEW button on a report:
CASE PrtOrView = "V"
oRepForm = CREATEOBJECT("Form")
WITH oRepForm
.Caption = "Client Listing"
.WindowState = 2 &&This will maximize the form
.Show()
ENDWITH
REPORT FORM (Thisform.FRXname) TO PRINTER PROMPT PREVIEW WINDOW (oRepForm.Name)
oRepForm.Release()