PRB: STYLE Clause Not Used with ? and ?? CommandsLast reviewed: April 29, 1996Article ID: Q99635 |
The information in this article applies to:
SYMPTOMSIf the SET PRINT FONT "<font name>",<point size> command is used to define the font in which FoxPro for Windows is to print, and the ? or ?? command with a STYLE clause is used to output text to the printer, the specified STYLE is not used in the printed output.
RESOLUTIONTo work around this problem, add a FONT clause to the ? or ?? commands in the code example below. For example, the first ? command would be:
? "This should be bold" FONT "Arial",12 STYLE "B" MORE INFORMATIONThe following code will reproduce this problem:
SET PRINTER FONT "Arial",12 SET PRINTER ON ? "This should be bold" STYLE "B" ?? "This should be italic" STYLE "I" SET PRINTER OFF SET PRINTER TO |
Additional reference words: VFoxWin 3.00 FoxWin 2.50 2.50a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |