Reply to comment

How do I print bright colors in a protected field?

Protected fields are printed in dimmed mode. If, however, the characters are already in a dark color, the driver will display the field in a bright color to contrast protected with unprotected characters. Therefore, a protected field appears in a bright color if a dark color is used in the protected field. The following sample program demonstrates how to display a protected field in bright blue in dL4 for Windows.

10 Print '255FONTCOLOR BP';"Protected Field";'EP FM', ! dimmed bright blue
20 Print '128FONTCOLOR BP';"Protected Field";'EP FM'; ! dimmed dark blue

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Lines and paragraphs break automatically.

More information about formatting options