Hiding Window failing on forms 6i. [message #452811] |
Sat, 24 April 2010 21:18 |
soueric
Messages: 5 Registered: September 2008 Location: Sydney, Australia
|
Junior Member |
|
|
Hi guys.
I have to create a new window in a newly developped forms 6i (in Oracle eBusiness Suite 11i).
This new window is to duplicate the Oracle standard alert systems.
I have to create a new one to match the style classes of the other windows in the developed forms. Actually, I did not manage to change the oracle alert I used first, to match fonts, colour and sizes defined in the customised class.
Thus, I decided to create a new window and canvas.
It has to display a confirmation message with 2 buttons: OK, Cancel.
This window contains a canvas displaying a confirmation message, and 2 buttons : Ok, Cancel attached to my data-block.
I manage to show this window, with a show_window command, called from a button on the previous window's canvas.
I do not manage to hide this new window, and to come back to the previous one, when I click on Cancel button.
The window does not hide.
Do you have any ideas on what I do not do properly ?
|
|
|
|
Re: Hiding Window failing on forms 6i. [message #452859 is a reply to message #452829] |
Sun, 25 April 2010 10:29 |
soueric
Messages: 5 Registered: September 2008 Location: Sydney, Australia
|
Junior Member |
|
|
Hi Littlefoot.
Thanks for your answer.
The cancel button's code is a call to a procedure in a forms program unit package.
This procedure is doing:
hide_view('DIALOG BOX');
hide_window('DIALOG BOX');
show_window('PREVIOUS WINDOW');
I tried to play a bit with the different show/hide on views, canvas et window with no success.
Do you see something wrong ?
Thanks a lot.
|
|
|
|
Re: Hiding Window failing on forms 6i. [message #452874 is a reply to message #452864] |
Sun, 25 April 2010 20:07 |
soueric
Messages: 5 Registered: September 2008 Location: Sydney, Australia
|
Junior Member |
|
|
Hi.
The thing is I don't have any data blocks on this window/canva.
Actually the 2 buttons belong to a data block from which we come from, before displaying the confirmation message.
|
|
|
|
Re: Hiding Window failing on forms 6i. [message #452882 is a reply to message #452879] |
Mon, 26 April 2010 01:21 |
soueric
Messages: 5 Registered: September 2008 Location: Sydney, Australia
|
Junior Member |
|
|
Yep. It's working if I come back to an item in the previous canvas.
The message is disappearing.
Thanks mate, you rock !
However, does it means that this dialog window in pushed at the background or close ?
How can I close it properly if it's not done ?
thanks.
I really need a training in forms, because I am lacking of essential skills.
Thanks.
|
|
|
|
|