Home » Developer & Programmer » Forms » How to set label of an item dynamically
How to set label of an item dynamically [message #85311] Tue, 15 June 2004 05:33 Go to next message
ravinder
Messages: 7
Registered: October 2002
Junior Member
I am working in oracle forms 4.5i.Is it possible to set/reset the label of any item( radio button,text item,check box etc.) dynamically.If yes, how can it be done?
Re: How to set label of an item dynamically [message #85314 is a reply to message #85311] Tue, 15 June 2004 06:20 Go to previous messageGo to next message
Himanshu
Messages: 457
Registered: December 2001
Senior Member
Hi,
I do not have Form 4.5 to verify this but yes it is possible in Forms 6i.
Please check your Forms help in SET_ITEM_PROPERTY there is a Proeprty called PROMPT_TEXT.
Using this property you can change the Text of your lable provided your Intial Label is also written in the Promt Text property of item & not as boilerplate on the canvas.

HTH
Regards
Himanshu
Re: How to set label of an item dynamically [message #85340 is a reply to message #85311] Thu, 17 June 2004 02:34 Go to previous messageGo to next message
puneet
Messages: 76
Registered: August 2002
Member
In forms 4.5,
you can use set_item_property('item name',LABEL,'new name');

hope that helps

regards
PB
Re: (for puneet)How to set label of an item dynamically [message #85347 is a reply to message #85340] Thu, 17 June 2004 08:39 Go to previous message
ravinder
Messages: 7
Registered: October 2002
Junior Member
thanx puneet. but it applies only for button and check boxes. how to set it for test item( title of text items)?
Previous Topic: Reports
Next Topic: Tree Problom In Forms
Goto Forum:
  


Current Time: Tue May 07 10:48:32 CDT 2024