|
|
|
|
|
|
|
Re: can we create horizontal/vertical canvas on tab canvas page [message #604249 is a reply to message #604248] |
Thu, 26 December 2013 16:16 |
|
mughals_king
Messages: 392 Registered: January 2012 Location: pakistan
|
Senior Member |
|
|
little more detail about canvases:
Canvases
Window:
Window is a container for all visual objects that make up a form application.
Window performs functionality such as scrolling, moving and resizing.
A single form may include several windows.
Each window should have at least one content canvas.
Each new form module has one predefined window which is called Window1 and is a modeless window.
Canvas:
Canvas is a surface inside a window on which visual objects can be placed.
A canvas is assigned to a window.
Each item in a form must refer to not more then one canvas.
View port:
View port is a visible portion of canvas.
MDI (Multiple Document Interface):
MDI is a parent window through which multiple documents can be accessed and browsed.
Types of Windows:
1) Modal Window
2) Modeless Window
Modal Window:
Modal window is a restricted window that requires a window exit before moving to another window. You cannot move freely between windows.
Modeless Window:
Modeless window is an unrestricted window that the user can move freely. User can have simultaneously access to more than one window.
Types of Canvases:
1) Content Canvas
2) Stacked Canvas
3) Toolbar Canvas
a) Vertical Toolbar
b) Horizontal toolbar
4) Tab Canvas
Content Canvas:
Content canvas is a base canvas and is a default canvas type.
Content canvas occupies the entire content area of the window.
More then one content canvas can be assigned to the same window but only one content canvas can be displayed on a window at a time.
To display more then one content canvas at the same time, assign each content canvas to a different window.
Stacked Canvas:
Stacked canvas is displayed on top of the content canvas and is usually small in size then that of content canvas in the same window.
To convert an existing content canvas to a stacked canvas, simply change its canvas type property from content to stacked.
To show and hide canvases programmatically, use the SHOW_VIEW, HIDE_VIEW and SET_VIEW_PROPERTY built-ins.
Stacked canvas is useful to display additional information, for hiding information and can act as a scrolling view.
Toolbar Canvas:
Toolbar canvas is used to create toolbar for individual window.
Toolbar canvas is of two types: Vertical and Horizontal toolbar canvases.
Vertical Toolbar canvas is displayed to the left of a content canvas.
Horizontal Toolbar canvas is displayed at the top of a content canvas.
Toolbar canvas is used to hold buttons and other frequently used GUI elements.
Toolbar canvas increases application usability and decrease form module maintenance Time.
Object Navigator window has both horizontal and vertical toolbars where as Property Palette has a horizontal toolbar only.
You can also create more than one toolbar for the same window.
MDI Toolbar: Attaching a Toolbar to a form provides a MDI toolbar, so that there is no need to create more than one toolbar for a form application that uses multiple windows.
Toolbar can be attached to individual windows or to the form itself.
Tab Canvas:
Tab canvas enables the user to organize and display data on separate Tabs.
Tab canvas is displayed on top of the Content Canvas.
Each Tab canvas is made up of one or more Tab pages and must have at least one.
Each Tab page occupies an equal amount of space on Tab canvas.
Any Item you place on a Tab canvas has a Canvas property as well as Tab page Property.
The ordering of Tab pages in the object navigator determines the left-to-right or Top-To-bottom order of the Tabs at runtime.
Tab canvas provides easy access to data and displays large amount of data on a single Canvas and is also used to hide information.
http://ouritblog.blogspot.com/2013/03/canvases-in-oracle-forms.html
Regard
Mughal
[Updated on: Thu, 26 December 2013 16:18] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|