oracle forms-canvas types
TRANSCRIPT
Working with Canvases and Windows
http://ebiztechnics.blogspot.com
Objectives
• Describe Canvases• Type of Canvases• Creating different types of canvases• Properties of Canvases and Windows
http://ebiztechnics.blogspot.com
Canvas and windows
• Canvas: Surface on which you “paint” visual objectsTo see a canvas and its objects, display the canvas in a window.
• Window: Container for Form Builder visual objectsTwo types
- Modal- Modeless
http://ebiztechnics.blogspot.com
Canvases, windows and viewport
Forms MDIWindow
Canvas
Forms SDIWindow
http://ebiztechnics.blogspot.com
Types of canvases
• Form Builder Provides 4 different types of canvases:1. Content Canvas2. Stacked Canvas3. Toolbar Canvas4. Tab Canvas
http://ebiztechnics.blogspot.com
Types of Canvases
ContentCanvas
StackedCanvas Tab
Page
TabCanvas
VerticalToolbarCanvas
HorizontalToolbarCanvas
http://ebiztechnics.blogspot.com
Content Canvas
• It’s the Default Canvas• Also Known as Base Canvas• View occupies the complete window• At a time one content canvas is display in a window.• Every window must contain at least one content canvas
http://ebiztechnics.blogspot.com
Creating a Content Canvas
• Implicitly created– Using the Layout wizard– Layout Editor
• Explicitly created– Select the Canvas node in Object Navigator and click create icon.
http://ebiztechnics.blogspot.com
Content Canvas Properties
Height
Width
Canvas
Viewport X/YPositionon canvas
Viewport
http://ebiztechnics.blogspot.com
Stacked Canvas
• Displayed on top of a content canvas• Shares a window with a content canvas• Size:
– Usually smaller than the content canvas in the same window– Determined by viewport size
• Created in:– Object Navigator– Layout Editor
http://ebiztechnics.blogspot.com
Toolbar Canvas
• Three types:– Vertical toolbar– Horizontal toolbar– Forms MDI toolbar
• Provide:– Standard look and feel– Alternative to menu or function key operation– Generally used for placing push Buttons with functionality
http://ebiztechnics.blogspot.com
Toolbar Canvas Properties
• Canvas Type• Window• Width• Height
• Form Module properties:– Form Horizontal Toolbar Canvas– Form Vertical Toolbar Canvas
http://ebiztechnics.blogspot.com
Tab Canvas
• Enables you to organize and display related information on separate tabs
• Consists of one or more tab pages• Provides easy access to data• Created in:
– Object Navigator– Layout Editor
http://ebiztechnics.blogspot.com
Tab Canvas Properties
http://ebiztechnics.blogspot.com
Window Properties
• Title• Window Style• Modal• Hide On Exit• Functional properties GUI options:
- Close Allowed - Maximize Allowed- Move Allowed - Minimize Allowed- Resize Allowed - Inherit Menu
http://ebiztechnics.blogspot.com
Summary
• Creating Canvases• Types of Canvases• Properties of Canvases• Windows and its properties
http://ebiztechnics.blogspot.com