skip to main content

Controls Reference : WINDOW : Properties : Foreground-Color

Foreground-Color
This property allows you to set or retrieve the foreground color of the Window control.
The value set here is also the default foreground color of the controls created in the Window control.
See "Color management" for further details.
 
Example - Display a standard window with background and foreground colors
working-storage section.
77 window-handle usage handle of window.
procedure division.
  display standard  window background-low
          screen line 41
          screen column 91
          cell width 10
          cell height 10
          label-offset 20
          control font Default-Font
          background-color 15
          foreground-color 1
          title "Screen"
          handle window-handle

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left