Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd Preview Window Behavior
Message
De
02/06/2005 20:22:36
 
 
À
02/06/2005 16:27:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01017308
Message ID:
01019640
Vues:
24
Brian -

I hate to say this... I think this is a bug in VFP9's window stack handling.

For a start, the preview comes up fine in a separate topform if you trace through the code line-by-line.

Secondly, it also comes up fine if you put the following commands around the report form command:
deactivate Window myform 
REPORT FORM HOME(1) + "Tools\Filespec\60SCX1.frx" OBJECT loListener
activate Window myform same
Unfortunately, this is not an ideal workaround, as you'll see.
Another workaround is to do this:
define window dummy from 1,1 to 10,10
activate window dummy
REPORT FORM HOME(1) + "Tools\Filespec\60SCX1.frx" OBJECT loListener
This succeeds in forcing the preview back to its own topform, but also shows the main VFP window (_SCREEN). If you make _SCREEN.Visible=.F. then it fails to have the desired effect.

I am fairly sure that VFP9 introduced at least one bug in the window stack handling. This looks like another set of repro steps.

This is not as helpful as I would have liked to have been.
- Colin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform