skip to main content

Controls Reference : TOOL-BAR : Properties : Cell Width

Cell Width
This property defines the width of the cell used for positioning the various controls inside the Tool-Bar control.
The value must comply with the following specification:
Refer to the Cell Size property for a more detailed explanation.
 
Example - Define a tool-bar with 3 buttons and cell width and height
screen section.
  01 screen-1-tb-1.
     03 screen-1-pb-4 Push-Button
        column 2.4
        size 5.2 cells 
        lines 2.6 cells 
        title "Exit"
     03 screen-1-pb-5 Push-Button
        column 13.0
        size 5.2 cells 
        lines 2.6 cells 
     03 screen-1-pb-6 Push-Button
        column 20.1
        size 5.2 cells 
        lines 2.6 cells 
procedure division.
  display tool-bar
          cell width 10
          cell height 10
          control font Default-Font
          background-color 6
          foreground-color 7
          handle screen-1-tb-1-hdl
  display screen-1-tb-1 upon screen-1-tb-1-hdl.

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