skip to main content

Controls Reference : WINDOW : Properties : Control Font

Control Font
Since the Window control is a container, the controls it contains may inherit some peculiarities.
The font handle set to this property will be the default value of the FONT Property of the controls created in the Window control.
This property also affects the way the cell size is calculated. See the Cell Height, Cell Size, and Cell Width properties for further details.
 
Example - Display a standard window using the control font property
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
          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