skip to main content

Controls Reference : GRID : Properties : Cell-Font

Cell-Font
This property allows you to set or retrieve the font of the cell identified by the X and Y properties.When this property is set to zero, the cell inherits the row font.
 
Example - Set the font of a cell
procedure division.
  initialize wfont-data tahoma-10v0.
  move 10 to wfont-size.
  move "Tahoma" to wfont-name.
  set wfont-bold to false.
  set wfont-italic to false.
  set wfont-underline to false.
  set wfont-strikeout to false.
  set wfont-fixed-pitch to false.
  call "w$font" using wfont-get-font tahoma-10v0 wfont-data.
  modify screen-1-gr-1 x = 1y = 2
         bitmap icon-png
         bitmap-number 3
         bitmap-trailing 1
         bitmap-width 18
         cell-color 232
         cell-font Tahoma-10v0
         cell-data "Albert"

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