Home » Developer & Programmer » Forms » Form with Multiple canvases (EBS 12.1.3 , Forms 10g, Windows7)
Form with Multiple canvases [message #634353] Mon, 09 March 2015 01:44 Go to next message
afzaa2yahoocom
Messages: 24
Registered: April 2011
Location: Dubai
Junior Member
Hi All,

I created a form with 3 blocks (A,B,C), 3 canvases for each block and 3 windows for each canvas.
All canvases type are content and windows type are Document.

The first block A is master and B, C are the child blocks, created relation for the same.

For the Block A , In the canvas we have two buttons (Button_B,Button_C) with when-button-pressed-trigger as go_block('B'); and go_block('C'); respectively.

When I click the Button_B the respective canvas Block B opens, when we close the same it closes, keeping the Master Block A canvas Open.

But When I click the Button_C the respective canvas opens, when we close the same it closes, but the Block B is opened auto which I dont want, I want only the Master Block A to be opened as above.

Kindly suggest.

Regards,
Afzal.

[Updated on: Mon, 09 March 2015 01:45]

Report message to a moderator

Re: Form with Multiple canvases [message #634360 is a reply to message #634353] Mon, 09 March 2015 02:20 Go to previous messageGo to next message
Littlefoot
Messages: 21807
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Try to utilize WHEN-WINDOW-CLOSED trigger and
a) close the window
b) navigate to block A
as it seems that - once you close a window with the C block, previous (i.e. B block) comes into focus.
Re: Form with Multiple canvases [message #634377 is a reply to message #634360] Mon, 09 March 2015 03:01 Go to previous messageGo to next message
afzaa2yahoocom
Messages: 24
Registered: April 2011
Location: Dubai
Junior Member
Hi Littlefoot,

Thanks for the reply.
I cant find WHEN-WINDOW-CLOSED trigger to add under Block C triggers.

Kindly suggest.
Re: Form with Multiple canvases [message #634378 is a reply to message #634377] Mon, 09 March 2015 03:08 Go to previous messageGo to next message
Littlefoot
Messages: 21807
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
It is a form level trigger, not a block level one.
Re: Form with Multiple canvases [message #634380 is a reply to message #634378] Mon, 09 March 2015 03:29 Go to previous messageGo to next message
afzaa2yahoocom
Messages: 24
Registered: April 2011
Location: Dubai
Junior Member
Thanks Littlefoot it worked, appreciate your kind support. Smile

I just want to inquire about attachments in the form, shall I need to open new Topic or can I ask here.
Re: Form with Multiple canvases [message #634382 is a reply to message #634380] Mon, 09 March 2015 04:08 Go to previous message
Littlefoot
Messages: 21807
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
If it is a question that isn't related to this problem, you'd rather open a new topic.
Previous Topic: disappear XE database
Next Topic: not excecution my form
Goto Forum:
  


Current Time: Tue Apr 23 18:43:45 CDT 2024