Home » Developer & Programmer » Forms » hiding a frame dynamically
hiding a frame dynamically [message #85805] Fri, 30 July 2004 01:36 Go to next message
vamsi kasina
Messages: 2112
Registered: October 2003
Location: Cincinnati, OH
Senior Member
hi all,
could anyone plz tell me
how to hide/show a frame dynamically?

thanks in adv.
vamsi
Re: hiding a frame dynamically [message #85810 is a reply to message #85805] Sat, 31 July 2004 02:08 Go to previous messageGo to next message
MNRaju
Messages: 6
Registered: July 2004
Junior Member
Hi Vamsi,
There is no built-in available to hide/show a frame dynamically. But it can be done indirectly by keeping a frame on a stacked canvas which itself is placed on a content canvas. Now, you can show/hide a frame by showing/hiding the stacked canvas….

Example:

Main or Content canvas name : CANVAS_CONT
Stacked canvas name : CANVAS_STK
Frame name : FRAME_ON_STK

FRAME_ON_STK is on CANVAS_STK and CANVAS_STK is available on CANVAS_CONT.

Now, use SET_VIEW_PROPERTY('CANVAS_STK', VISIBLE, PROPERTY_FALSE/PROPERTY_TRUE) to show/hide the frame.
Re: hiding a frame dynamically [message #85890 is a reply to message #85810] Mon, 09 August 2004 19:28 Go to previous messageGo to next message
vamsi kasina
Messages: 2112
Registered: October 2003
Location: Cincinnati, OH
Senior Member
hi,
Thanks!!

by vamsi
Re: hiding a frame dynamically [message #86798 is a reply to message #85810] Wed, 03 November 2004 00:04 Go to previous messageGo to next message
makanye mothapo
Messages: 1
Registered: November 2004
Junior Member
I tried SET_VIEW_PROPERTY('CANVAS_STK', VISIBLE, PROPERTY_FALSE/PROPERTY_TRUE) but it's not working. Any other options?
icon11.gif  Re: hiding a frame dynamically [message #111050 is a reply to message #86798] Sat, 12 March 2005 15:18 Go to previous messageGo to next message
raje_here
Messages: 14
Registered: February 2005
Junior Member

if u want to hide type property_false..if u want to show then type property_true....
dont type property_true/property_false
Re: hiding a frame dynamically [message #228274 is a reply to message #85805] Mon, 02 April 2007 06:22 Go to previous messageGo to next message
lakshmi surya ram
Messages: 188
Registered: June 2006
Location: HYDERABAD
Senior Member

hi ,

I go the property true functionality in when-button-pressed -trigger.

But I am not able to see property_false functionlity

I doing this in template.fmb,11.5.10.2

thanks ,
Surya
Re: hiding a frame dynamically [message #228407 is a reply to message #228274] Mon, 02 April 2007 23:28 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Make sure that you have navigated to an item on that canvas before you do the 'set_view_property'. Or to an item which is NOT COVERED by that canvas.

David
Previous Topic: frm-41344
Next Topic: What software should i buy if want to develop a web site using Oracle Forms and Reports (Merged)
Goto Forum:
  


Current Time: Sun Feb 02 13:06:20 CST 2025