Home » Developer & Programmer » Forms » how to hide a stacked canvas? (Oracle 10g)
how to hide a stacked canvas? [message #541491] Tue, 31 January 2012 12:48 Go to next message
baliberde
Messages: 201
Registered: January 2012
Location: outer space
Senior Member
hello, i'd like to hide my stacked canvas. This is my scenario, i have my content and stacked canvas on the same window. When i click a button on the content canvas it will display the stacked canvas, this is the code that i used:

SHOW_VIEW('CV_STACKED');



And on my stacked canvas, i put a button close and fired a when-button-pressed trigger,

HIDE_VIEW('CV_STACKED')


supposedly, it should hide the stacked canvas, but it doesn't hide. i tried
SET_VIEW_PROPERTY('CV_STACKED', VISIBLE, PROPERTY_FALSE)



i need your help thanks
Re: how to hide a stacked canvas? [message #541492 is a reply to message #541491] Tue, 31 January 2012 12:50 Go to previous messageGo to next message
baliberde
Messages: 201
Registered: January 2012
Location: outer space
Senior Member
SET_VIEW_PROPERTY('CV_STACKED', VISIBLE, PROPERTY_FALSE)


doesn't work as well
Re: how to hide a stacked canvas? [message #541498 is a reply to message #541492] Tue, 31 January 2012 13:37 Go to previous messageGo to next message
cookiemonster
Messages: 13926
Registered: September 2008
Location: Rainy Manchester
Senior Member
Probably because the cursor is in that canvas.
You need to do a go_item to an item that's not in the stacked canvas before you can hide it.
Re: how to hide a stacked canvas? [message #541631 is a reply to message #541498] Wed, 01 February 2012 06:28 Go to previous messageGo to next message
baliberde
Messages: 201
Registered: January 2012
Location: outer space
Senior Member
okay thanks cookie, i tried go_block and it worked fine.
Re: how to hide a stacked canvas? [message #541632 is a reply to message #541631] Wed, 01 February 2012 06:31 Go to previous messageGo to next message
baliberde
Messages: 201
Registered: January 2012
Location: outer space
Senior Member
what is the purpose of cursor?
Re: how to hide a stacked canvas? [message #541633 is a reply to message #541632] Wed, 01 February 2012 06:36 Go to previous messageGo to next message
Littlefoot
Messages: 21813
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Are you kidding?
Re: how to hide a stacked canvas? [message #541641 is a reply to message #541633] Wed, 01 February 2012 08:05 Go to previous messageGo to next message
baliberde
Messages: 201
Registered: January 2012
Location: outer space
Senior Member
sorry i don't know what cursor is, i'm new to Oracle.
Re: how to hide a stacked canvas? [message #541642 is a reply to message #541641] Wed, 01 February 2012 08:12 Go to previous messageGo to next message
cookiemonster
Messages: 13926
Registered: September 2008
Location: Rainy Manchester
Senior Member
You think cursor is an oracle concept?
And you're a programmer?!?!?!?!
You know when you type a reply in this web browser there is a vertical line and the letters appear to the left of it as you type?
That's a cursor.
All GUI programs (and if you don't know what GUI means, google it) have one.
Re: how to hide a stacked canvas? [message #541646 is a reply to message #541642] Wed, 01 February 2012 09:52 Go to previous message
baliberde
Messages: 201
Registered: January 2012
Location: outer space
Senior Member
I thought you were referring to cursor(temporary work area created in the system memory when a SQL statement is executed.) that's related in oracle. My bad. and i'm sorry.
Previous Topic: New Visual in Oracle Forms (Master / Detail)
Next Topic: DBMS_OUTPUT Messages on Form
Goto Forum:
  


Current Time: Mon Jul 15 15:50:46 CDT 2024