Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Changing Label of Screen Elements

Former Member
0 Likes
1,220

Hi

I need to change the TEXT of my screen elements at runtime..

Is there anyway to do that...???

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,054

If you need to change the label text dynamically then u need to create a variable which will contain the dynamic text and use this variable to display dynmaic texts.

Thanks,

Abhishek

Hi

I need to change the TEXT of my screen elements at runtime..

Is there anyway to do that...???

3 REPLIES 3
Read only

Former Member
0 Likes
1,055

If you need to change the label text dynamically then u need to create a variable which will contain the dynamic text and use this variable to display dynmaic texts.

Thanks,

Abhishek

Read only

Former Member
0 Likes
1,054

HAI,

You should create a variable in your program with the same name as of your screen element. Then depending on the requirement change the text of this variable in your program. It directly affects the Screen element. This works for the I/O textfield screen elements. In case you want to change the text for a Label field, it is not directly possible. So create an I/O text field element on your screen and set the property as output only (it now acts as a Label). Then follow the same process as above.

Best Regards,

rama

Read only

Former Member
0 Likes
1,054

Thanks everyone for ur reply...

This thread can be closed now....