Home » Developer & Programmer » Forms » navigation (oracle form 10gr2)
navigation [message #293787] Tue, 15 January 2008 00:17 Go to next message
juandelacruz
Messages: 6
Registered: January 2008
Location: US
Junior Member
Hi,

What is the reason that every time a press the button.
It always display the message first before the window
shows up.

On the when-button-pressed trigger

show_window('window1');
message('testing');
icon12.gif  Re: navigation [message #293791 is a reply to message #293787] Tue, 15 January 2008 00:50 Go to previous messageGo to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
Dear it is not that it is showing first window and then the message.

It is showing the window first and then it is showing your but what is happening is that the MESSAGE or ALERT is of high priority then window. It first show your window and then display your MESSAGE on top of it.

Regards,
Azam Khan
Re: navigation [message #293792 is a reply to message #293787] Tue, 15 January 2008 00:59 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Is this window a small one or one that will occupy the whole screen? If the latter then use a go_item to navigate to an item on that window instead of doing the show_window.

Remember, you can't 'cover' the item that currently has 'focus'.

David
Re: navigation [message #293984 is a reply to message #293791] Tue, 15 January 2008 19:18 Go to previous messageGo to next message
juandelacruz
Messages: 6
Registered: January 2008
Location: US
Junior Member
It's a alert message actually. What happen is it will show the alert message first then after pressing the Ok button it will then
display the small modal window. What I want is to show first
the small window then after closing the window it will display
the alert message.

when-button-pressed trigger:

show_window('window_1');
message('Testing');
Re: navigation [message #293985 is a reply to message #293792] Tue, 15 January 2008 19:28 Go to previous messageGo to next message
juandelacruz
Messages: 6
Registered: January 2008
Location: US
Junior Member
It's a small modal window that I want do display first.
Then upon closing the window it will dispaly next the
alert message. This is within the when-button-pressed
trigger:
show_window('window1');
message('Testing');

I will try the go_item command to see if it will work.
Thanks!
Re: navigation [message #293986 is a reply to message #293985] Tue, 15 January 2008 20:08 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
If you want to show an alert then use 'show_alert'. If you want another canvas / window to appear after the alert then perform the 'show_alert' and then do the go_item to an item on the next canvas / window.

David
Previous Topic: Creating Alert in a Form
Next Topic: USER_NAME
Goto Forum:
  


Current Time: Mon Feb 03 00:16:19 CST 2025