You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

lable change

4 replies [Last post]
kumar2010's picture
User offline. Last seen 1 year 27 weeks ago. Offline
Joined: 10/26/2010
Posts: 6

Hi all

i want to change lable name dynamically....
that field has prompt table, when we click on prompt table that field name also should change to new lable name.....

please tel me the answer......

prashobmdas's picture
User offline. Last seen 30 weeks 6 days ago. Offline
Joined: 10/21/2010
Posts: 3
Re: lable change

you can acchive this using a derived work record field on you page.

What you have to do is
1> on your page record field property in label tab keep the type as none
2> keep a derived work record in the place where you want to see text programatically
3> change the style of the derived work record in the way you want
4> in the fieldchange event of your prompt handle what you want to display dynamically

Regards,
Prashob

kumar2010's picture
User offline. Last seen 1 year 27 weeks ago. Offline
Joined: 10/26/2010
Posts: 6
Re: lable change

thank you prashob...

rahulkhandelw's picture
User offline. Last seen 1 year 1 week ago. Offline
Joined: 10/16/2009
Posts: 34
Re: lable change

No need to all this.. Field class is havig a property called label. This is a read/write property. Use this to change the label dyamically

Lepa's picture
User offline. Last seen 5 days 11 hours ago. Offline
Joined: 06/23/2008
Posts: 570
Re: lable change

your_record.your_field.label = "I'm a new label"; That's all what you need.

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
The question below is to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.