Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd Preview Window Behavior
Message
De
25/05/2005 14:26:15
 
 
À
25/05/2005 12:32:36
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:
01017608
Vues:
26
Add the following to a prg file. You should be able to see the issue I'm experiencing just by running in VFP 9, but you can try compiling it to an exe as well...
If I select any other option for ShowWindow, I can access the report preview controls.
if you set report behavior to 80, or run in VFP 8 with the set report omitted,
the preview controls function properly as well.
TRY

loForm = CREATEOBJECT('myForm')
loForm.Show()
loForm.RunReport()


CATCH TO oException


ENDTRY

DEFINE CLASS myForm as Form

ShowWindow = 2 &&as top level form

PROCEDURE RunReport()
	
	SET REPORTBEHAVIOR 90
	REPORT FORM HOME(1) + "Tools\Filespec\60SCX1.frx" PREVIEW

ENDPROC 


ENDDEFINE 
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform