Home » Developer & Programmer » Forms » SHOW WINDOW
SHOW WINDOW [message #264855] Tue, 04 September 2007 16:47 Go to next message
kaydee08
Messages: 4
Registered: February 2007
Junior Member
I have a main content canvas within a window (WIN 1) and I am trying to display another window (WIND 2)or it can be shown just as a content\ stacked canvas, when a button is pressed from WIN 1. But when I call WIN 2 I need the rest of the code that is after the call to show WIN 2, to not process until WIN 2 is closed. Is this doable? I am trying to force the user to enter a note in the NOTE_WIN (WIN 2) if a certain condition is met from WIN 1.

Example
WHEN_BUTTON_PRESSED Trigger Codefrom button in WIN 1
IF ... THEN
SHOW_WINDOW(NOTE_WIN);
END IF;

*** DO NOT PROCESS THIS UNTIL USER EXITS FROM NOTE_WIN
...remaining code

Thanks for any suggestions...
Re: SHOW WINDOW [message #265004 is a reply to message #264855] Wed, 05 September 2007 04:13 Go to previous messageGo to next message
kamran.it
Messages: 265
Registered: September 2005
Location: Karachi
Senior Member
you can write in when-button-press trigger

go_block('win2');
and other conditions....




Re: SHOW WINDOW [message #265015 is a reply to message #264855] Wed, 05 September 2007 04:31 Go to previous messageGo to next message
sasipalarivattom
Messages: 118
Registered: June 2007
Location: Cochin ( INDIA )
Senior Member

Hi dear,
What I understood is that
you have 2 windows and after entering some details in
win1, you have 2 goto win2 and then you have to come back to win1 and then to do some processing.
Try this.
In win2, place a button to go back to win1
and in the same button, write those code, which you want to process after returning to win1.
Let me know the result...

Regards
Sasi....

[Updated on: Wed, 05 September 2007 04:33]

Report message to a moderator

Re: SHOW WINDOW [message #265155 is a reply to message #265015] Wed, 05 September 2007 10:00 Go to previous message
kaydee08
Messages: 4
Registered: February 2007
Junior Member
Thanks for all of your replies. Instead of putting the code in win2 your response triggered me to think that I could put the code in a procedure that I could call from win2 or win1, and this seems to work out fine.

Previous Topic: trouble in calling a function inside trigger
Next Topic: storing images in a table
Goto Forum:
  


Current Time: Mon Dec 05 14:50:46 CST 2016

Total time taken to generate the page: 0.09159 seconds