skip to main content

Controls Reference : RIBBON : Styles : Relative-Offset

Relative-Offset
When this style is set, the LINE and COLUMN coordinates of controls displayed on a Ribbon are relative to the Ribbon area. If the style is not set, then coordinates are relative to the window area.
 
Example - Display a Ribbon control with Relative-Offset style
procedure division.
  display ribbon
          tab-to-add ( "Ops 1" "Ops 2" "Ops 3")
          bitmap-number ( 0 0 0)
          hint "Ribbon tool bar"
          relative-offset
          header-align 1
          bitmap-width 18
          bitmap-handle icon-png
          handle screen-1-rbn-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