ven. 16 octobre 2026, 16h03
Amos
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