ATOUTFOX
COMMUNAUTÉ FRANCOPHONE DES PROFESSIONNELS FOXPRO
Visual FoxPro : le développement durable

Forum AtoutFox : XFRX PDF Exemple   

Sujet

rss Flux RSS des derniers messages

Vous devez vous identifier pour pouvoir poser une question ou répondre.

ven. 16 octobre 2026, 16h03
Amos
France France

atoutfox.public.association

XFRX PDF Exemple

Bonjour,
c'est vraiment la croix et la bannière faire marcher XFRX.
Je cherche un exemple pour imprimer un frx en PDF.
Dans mon PDF les champs ne s'impriment pas.

Ci-dessous le mail de eqeus.com dont je ne comprend pas :

It's this bug: XFRX Preview do not shows some texts. and was fixed after releasing XFRX 25.0

Simple solution is
- for XFRX#LISTENER uncheck "Use default foreground (pen) color" set color White.
- or use XFRX#INIT

Ou je "UNcheck" ?
Comment utiliser XFX#INIT.

Ci-dessous mon programme :

close data
set proc to xfrx\xfrx.fxp additive
set library to xfrx\xfrxlib.fll
set classlib to (home()+"ffc\_reportlistener")

LOCAL m.loxfrx, m.lnRetval

m.loxfrx = XFRX("XFRX#LISTENER")
use xfrxdata in 0 alias "data" share
m.lnRetval = loxfrx.SetParams("output.pdf",,,,,,"PDF")
select("data")
SET REPORTBEHAVIOR 90

IF m.lnRetval = 0
REPORT FORM xfrx1 next 1 OBJECT m.loxfrx
* REPORT FORM xfrx1 next 1 preview
ELSE
wait wind " No xfrx" && str(m.lnRetval)+ " " + m.loSession.ErrorMessage(m.lnRetVal)
ENDIF
close data


Merci,
Amos


Permalink : http://www.atoutfox.org/nntp.asp?ID=0000020379
20 286 messages dans le forum • Liste complète des messages

www.atoutfox.org - Site de la Communauté Francophone des Professionnels FoxPro - v3.4.0 - © 2004-2026.
Cette page est générée par un composant COM+ développé en Visual FoxPro 9.0-SP2-HF3