setThisform Method

Set object reference for "Thisform".


Object.setThisform(tuVal)

Parameters

tuVal

 A object reference to form.

Remarks

Applies To: XFRX#INIT, XFRX#LISTENERoXFRX

XFRX version: 22.0 for XFRX#LISTENER, 24.0 for oXFRX

Examples

LOCAL m.loXFRX, m.lnRetVal
m.loXFRX = EVALUATE([xfrx("XFRX#INIT")])
m.lnRetVal = m.loXFRX.SetParams("output.pdf",,,,,,"PDF")
IF m.lnRetVal = 0
   m.loXFRX.setThisform(_Screen.forms(1))
   m.loXFRX.ProcessReport("report1")
   m.loXFRX.ProcessReport("report2")           
ELSE
   ? m.lnRetVal, m.loXFRX.ErrorMessage(m.lnRetVal)
ENDIF
RELE m.loXFRX