Home » Developer & Programmer » Forms » visible property of item on forms
visible property of item on forms [message #271877] Wed, 03 October 2007 04:30 Go to next message
srinivas.k2005
Messages: 404
Registered: August 2006
Senior Member
Hi,

I have an item(display item) on the canvas,in when new form instance trigger i am setting it to (visible,property_false).

But in a button when i change the property to (visible ,property_true).
It is not working and i cant see the item in forms 10g.
In form6i it is working fine but in forms 10g it is not working.

Even i tried setting the property ,enabled as property true.

So, why is it working fine in Forms6i but not in forms10g.
Any idea's appreciated...

Thanks,
Srinivas
Re: visible property of item on forms [message #271889 is a reply to message #271877] Wed, 03 October 2007 05:14 Go to previous message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Well, I've tried it now and it works fine. Default data block is based on Scott's DEPT table.
-- WHEN-NEW-FORM-INSTANCE trigger:

set_item_property('loc', visible, property_false);

Additional push button, having
-- WHEN-BUTTON-PRESSED trigger:

set_item_property('loc', visible, property_true);

The 'loc' item is invisible as the form starts, but appears when I press the button.

What did you do so that it doesn't work properly?

P.S. Note that making an item VISIBLE doesn't mean it is ENABLED!
Previous Topic: Wht to use synchronous to call report?
Next Topic: Sample forms for 1z0-141 book practices
Goto Forum:
  


Current Time: Sat Feb 15 12:14:51 CST 2025