Home » Developer & Programmer » Forms » Hide Current window (Oracle Express edition 10g , Developer 6I)
Hide Current window [message #606775] Wed, 29 January 2014 04:31 Go to next message
shahzaib_4vip@hotmail.com
Messages: 373
Registered: December 2008
Location: karachi
Senior Member
Dear all,


How can i hide my current window

when i write this trigger in exit button

go_block('main_block');
hide_window('voucher_prifix');

its work and go to main block

i don't want to go in main block i just want to hide my current window which name is voucher_prifix

Re: Hide Current window [message #606777 is a reply to message #606775] Wed, 29 January 2014 05:01 Go to previous messageGo to next message
cookiemonster
Messages: 10853
Registered: September 2008
Location: Rainy Manchester
Senior Member
You can't hide a window if the cursor is in an item in that window. The cursor must always be in a visible item.
So if you want to hide the window you need to move the cursor somewhere else first. If the main_block is the only block not in that window then that's where it has to go.
Re: Hide Current window [message #606837 is a reply to message #606777] Wed, 29 January 2014 22:06 Go to previous messageGo to next message
shahzaib_4vip@hotmail.com
Messages: 373
Registered: December 2008
Location: karachi
Senior Member
Thanks for your reply

currently 10 windows is open in my form i just want to hide only one window and visible 9 window's so i click hide window with the trigger HIDE_WINDOW('VOUCHER_PRIFIX') but its not working so when i chose go_block for another window its work right now i just want to hide voucher prifix window and stay in 9 other window's


Re: Hide Current window [message #606848 is a reply to message #606837] Thu, 30 January 2014 00:11 Go to previous messageGo to next message
Littlefoot
Messages: 19335
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Does your last message mean that you understood what Cookiemonster told you (so the problem is solved)? Because, the way I read it, I'd say that you kind of saw a response but didn't understand a word.
Re: Hide Current window [message #606853 is a reply to message #606775] Thu, 30 January 2014 01:22 Go to previous messageGo to next message
shahzaib_4vip@hotmail.com
Messages: 373
Registered: December 2008
Location: karachi
Senior Member
I have four block open at the form i write the trigger in button that hide current window and go to main block window but the problem is my main block window contain width 815 & height 451 so after going to main block they hide the other 3 block's window is well so i just want to hide current block window and not any change of other 3 block's

i hope you understand


Regards


shahzaib Ismail
Re: Hide Current window [message #606856 is a reply to message #606853] Thu, 30 January 2014 02:14 Go to previous messageGo to next message
Littlefoot
Messages: 19335
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I do understand, but you do not. You can't hide current window (the one that contains an item, and in that item you can see a cursor blinking). You have to navigate out of that "window", and then you'll be able to hide it.
Re: Hide Current window [message #606865 is a reply to message #606856] Thu, 30 January 2014 03:45 Go to previous message
mughals_king
Messages: 351
Registered: January 2012
Location: pakistan
Senior Member
shahzaib_4vip, Dear i think you need this .fmb and check.

HIDE_WINDOW('THE_ANOTHER_WINDOW');
GO_BLOCK('EMP');
GO_ITEM('EMP.EMPNO');


Regard
Mughal

[Updated on: Thu, 30 January 2014 03:48]

Report message to a moderator

Previous Topic: Query Only Mode at Menu Level
Next Topic: i got an error as,Invalid reference to 'BLOCK_NAME'
Goto Forum:
  


Current Time: Wed Jul 30 22:42:44 CDT 2014

Total time taken to generate the page: 0.15715 seconds