skip to main content

Controls Reference : TOOL-BAR : Properties : Color

Color
This property allows you to set or retrieve the color of the Tool-Bar control.
The value set here is also the default color of the controls created in the Tool-Bar control.
Foreground and background color values are combined and therefore RGB colors are not supported. See "Color management" for further details.
 
Example - Define a tool-bar with 3 buttons and color property
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
          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