Searching the KB, i have that the article Q154170 ,
describes a similar situation, but applied to the @ say statement.
Well, i write the modification indicated in the article,
and .. VOILA !! it works.
The code is :
IF ThisForm.BackColor != 16777215
ThisForm.LockScreen = .T.
SET DEVICE TO PRINTER
cOldbackcolor = ThisForm.BackColor
ThisForm.BackColor = RGB(255,255,255)
&& @1,1 SAY 'This is a test'
SET DEVICE TO SCREEN
SET PRINTER TO
ThisForm.BackColor = cOldbackcolor
ThisForm.LockScreen = .F.
ENDIF
Why that code ??
perhaps there is an error with the device context selected ?
Is Stephen King now working at M$ ??
Yours
J.E. Llopis
pepell@lobocom.es