How to Add Scrollbar in Oracle Forms?

How to Add Scrollbar in Oracle Forms?

In Oracle Forms, we required to add scrollbars when we create a tabular data block with multiple records or a stacked canvas. For tabular data block a scrollbar belongs to the data block and for stacked canvas, a scrollbar is belong to the canvas. Below are the examples to show how you can add a scrollbar in Oracle Forms.

Steps to Add a Scrollbar to a Data Block

  1. In Oracle Form's object navigator, right click on the data block on which you want to add a scrollbar.
  2. From the shortcut menu, click on the Property Palette.
  3. Scroll down the Property Palette window to Scrollbar section and set the Show Scrollbar property to Yes.
  4. Then select the scrollbar canvas from the Scrollbar Canvas property drop-down.
  5. You can set more properties as shown in the below image.

add a scrollbar to data block in Oracle forms

Steps to Add a Scrollbar to a Stacked Canvas

  1. In Oracle Form's object navigator, right click on the stacked canvas on which you want to add a scrollbar.
  2. From the shortcut menu, select Property Palette.
  3. Scroll down the window to Physical section.
  4. You will see there Show Horizontal Scrollbar and Show Vertical Scrollbar properties. Set the property to Yes according to your requirement.

You can also add a scrollbar to a window in Oracle Forms. The method is the same as for the stacked canvas.

See also: