on 06-25-2010 9:53 AM
Change labels/fields dynamicly
For our applications we want to dynamicly change or labels and/or our fields. Depending a value that we read from ABAP, the idea is to change the color of a label/fields so that user can see what's going on, without using the tooltip.
2 simple questions:
1. Is this possible?
2. If yes, how and if no, are there any other sugestions?
Thanks in advance,
Hilco Joling
Hi,
You can change the color of the fields but it's only available for Text View right now.
Create a contaxt attribute from Dictionay Simple type of type TextViewSementicColour.
Bind it with the Sementic colour property of the Text View and set the value based on your condition
like this
wdContext.currentContextElement().setColor(WDTextViewSemanticColor.POSITIVE);
You can set different colours available under WDTextViewSemanticColor.
Regards
Ravindra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.