Solved

STACK AND TAB CANVAS HORIZONTAL VERTICAL TOOLBAR RELATED QUERIES ORACLE FORMS

Posted on 2013-12-21
1
1,644 Views
Last Modified: 2013-12-23
I have made one tab canvas , there are 4 tab pages (4th tab page is for exit)
On 1st tab page i have created emp block (source table emp) ,
On 2nd tab page i have created dept block (source table dept),
On 3rd tab page named as "About" when i navigate to About it displays stack window
which i have already created on which i have written details about Developer i.e me .
There is one push button on stack window i.e "OK " , when user clicks OK button stack
window get closed and cursor get back to 1st tab
Code for push button :-
Code: [Select all] [Show/ hide]

hide_view('stackcanvasname');
go_block('emp');



Now my question is
1. I want to navigate to tab page instead of navigating to block
Is there any command to go back to tab pages like go_block and go_item
2. When i use only hide_view('stackcanvasname'); command inside push button i.e 'OK'
and when i press OK button the window doed not get closed why? is there any solution for this


II). Toolbar related queries.
1. I have creates two canavas a.Normal Canvas b. Horizonatal toolbar
I have created one block using normal canvas , and on 2nd canvas i.e Horizontal toolbar ,
on that i have made few buttons to execute_query ,to navigate on records etc
The problem is when i run this form it shows me only horizontal toolbar canvas
and when i maximize window that it shows me 2nd canvas.
My requirement is I want to display both Canvas at same time when i run my form.

2. I am not able to make horizontal toolbar and vertical toolbar in same form , why ?

Kinly Help. Thanks
0
Comment
Question by:hinamansoor
1 Comment
 
LVL 9

Accepted Solution

by:
MarkusId earned 500 total points
Comment Utility
Hello,

Answers for the tab-page questions:

1. You can try to use the 'set_canvas_property'-builtin. However, I suppose the same applies here as with the 2nd point below regarding the active item - move to a neutral field (e.g. on a toolbar) first.
SET_CANVAS_PROPERTY('canvasname', TOPMOST_TAB_PAGE, 'tabpagename'); 

Open in new window


2. You have to move the cursor out of the canvas first, so the right sequence of commands should be'c
go_block('emp');
hide_view('stackcanvasname');

Open in new window

Oracle does not allow a canvas to be hidden as long as the cursor is in an item on that canvas.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now