skip to main content

Controls Reference : STATUS-BAR : Styles : Grip

Grip
When this style is set, a triangle is displayed in the lower right corner of the Status-Bar control. This is usually done to notify the user that the window is resizable and that he can resize it by dragging the rightmost part of the Status-Bar control.
Note: the triangle is shown only if the Window has the Resizable style.
 
Example - Display a status-bar with grip style
working-storage section.
77 screen-1-st-2-hdl handle of status-bar.
procedure division.
  display status-bar
          font Default-Font
          background-color 7
          foreground-color 3
          panel-widths ( 30 50)
          panel-style ( 1 2)
          panel-alignment ( "U" "U")
          panel-bitmap ( icon-png2 icon-png2)
          panel-bitmap-width ( 18 18)
          panel-bitmap-number ( 4 5)
          panel-bitmap-alignment ( "U" "U")
          handle screen-1-st-2-hdl
  modify screen-1-st-2-hdl
     panel-index 1
     panel-text "Date: "
     panel-hint "This is the current system date"
     panel-color 516
     panel-index 2
     panel-text "Screen Status: "
     panel-hint "This is the status of the program"

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