Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error displaying enabled fields
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00192301
Message ID:
00192820
Views:
33
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform