In order to print richtext which I have saved on .fpt files, I find that I must create the control on a dialog or window. When I only wish to print without displaying the richtext control I hide the dialog:
- Code: Select all Expand view RUN
*-------------------------------------------------------------------------------------------------------------------------------
METHOD DisplayHidden() CLASS Transcription
local oSelf := self, i
::oActive := ::oTrGrss
for i:=1 to len( ::aRtfs )
::aRtfs[ i ]:hide()
next i
ACTIVATE DIALOG oSelf:oDlg CENTERED NOWAIT
::oDlg:Hide()
return nil
::aRtfs contains a few richtext objects previously redefined OF ::odlg. The problem is that the dialog flashes for just a microsecond. That would be acceptable, except when printing 300 cases. Then it flashes for a few minutes.
Any ideas on how to solve this one?
Thank you,
Reinaldo.