Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Mashup Designer
Change text Colour in a mashup
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Starr
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5327
People Online:
Visitors:
170
Members:
0
Total:
170
Online Now:
New Topics
Lawson Add-Ins for Microsoft Office
Lawson Add-in
9/30/2025 6:51 PM
I am looking for a Lawson Add-ins query to add new
Lawson S3 Procurement
Anyone getting PO 0000 not found for company error in PO23?
9/30/2025 2:45 AM
Anyone getting PO 0000 not found for company error
Lawson Add-Ins for Microsoft Office
PO20 - Cancel PO via Add-in
9/25/2025 8:03 PM
Is it possible to cancel PO's using add-ins? I
S3 Systems Administration
S3 Payroll - PayStubs
9/18/2025 6:58 PM
Looking for a reliable solution to streamline the
S3 Systems Administration
Quick Access report
8/25/2025 7:17 PM
Looking for a good way to see who has access Lawso
S3 Customization/Development
LP01 hiding a PTO plan from the list
8/13/2025 4:44 PM
Hi all. is there a way to hide a specific PTO&n
Lawson Business Intelligence/Reporting/Crystal
GLTrans - PO Line/MAInvdtl
8/6/2025 6:13 PM
Hello, we have an existing tabular model for fina
IPA/ProcessFlow
Retrieving GUID from InforOS
7/25/2025 2:22 AM
Hello everyone, I was wondering if there is a way
IPA/ProcessFlow
IPA for forwarding cost messages (MA64/MA66.3)
7/23/2025 6:07 PM
When a buyer has an invoice cost message where the
Lawson Portal
Lawson ESS customization
6/23/2025 10:28 AM
I want to add new links and customize the ESS (sel
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3293
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
User Experience
Mashup Designer
Change text Colour in a mashup
Please
login
to post a reply.
4 Replies
0
Subscribed to this topic
5 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Darchy
New Member
Posts: 3
7/1/2013 4:16 AM
Hey Guys,
Is there any way to change the text colour in a mashup via the Code
Eg:
<code> <span style="color: #8b008b;"><m3:MIPanel <span style="color: #ff0000;">Grid.Row</span><span style="color: #0000ff;">="0"</span> <span style="color: #ff0000;">Grid.Column</span><span style="color: #0000ff;">="1"</span> <span style="color: #ff0000;">Name</span><span style="color: #0000ff;">="MMS240MIPanel"</span> <span style="color: #ff0000;">Margin</span><span style="color: #0000ff;">="10"</span> <span style="color: #ff0000;">VerticalAlignment</span><span style="color: #0000ff;">="Center"</span> <span style="color: #ff0000;">HorizontalAlignment</span><span style="color: #0000ff;">="Left"</span>></span><br /> <span style="color: #8b008b;"><m3:MIPanel.Events></span><br /> <span style="color: #8b008b;"><mashup:Events></span><br /> <span style="color: #8b008b;"><mashup:Event <span style="color: #ff0000;">SourceName</span><span style="color: #0000ff;">="ItemMaster"</span> <span style="color: #ff0000;">SourceEventName</span><span style="color: #0000ff;">="CurrentItemChanged"</span> <span style="color: #ff0000;">TargetEventName</span><span style="color: #0000ff;">="FillForm"</span>></span><br /> <span style="color: #8b008b;"><mashup:Parameter <span style="color: #ff0000;">TargetKey</span><span style="color: #0000ff;">="SERN"</span> <span style="color: #ff0000;">Value</span><span style="color: #0000ff;">="ENTER SERIAL"</span> /> </code>
I would like the text "ENTER SERIAL" to be in Red
Any help would be fantastic.
Cheers
Jeff
Karin
Veteran Member
Posts: 57
7/2/2013 1:42 AM
Split
Hi Jeff,
In your mashup I'm assuming that there is a TextBox that the user should use to enter the serial, and here you want the text to be ENTER SERIAL.
You can look for it for searching for SERN. Now add a Name to the TextBox, eg:
[code]
[/code]
Now using the technique found in the Property Setter example from within the Designer -> Help ->Common ->Property Setter set the Foreground property to Red. It's a way to set any property in a Mashup event.
[code]
....your first event here.....
[/code]
Now the text will remain red until you change it in another event. Perhaps you can change it back after UpdateCompleted if the event is an update transaction?
I hope this will work. The property is a Color object so it migth not work but setting Foreground to Red directly does work so it's worth a try. I don't have access to an environment so let me know if it works.
Darchy
New Member
Posts: 3
7/2/2013 7:19 AM
Split
Thank you so much Karin, I will give this a try in the Morning and post the results.
Cheers
Jeff
Darchy
New Member
Posts: 1
1/16/2014 2:31 AM
Split
Hey Karin
Apologies, I had forgotten all about this.
Yes, It worked!
Better late than never.
Cheers
Jeff
ScottCT
Advanced Member
Posts: 24
6/30/2016 4:01 PM
Split
Hello,
this is an older post but I'd thought I'd throw in a different solution.
Rather than relying on a mashup:SetProperty event, try using a textBox style:
[code]
[/code]
So for this style, anytime the Text is "ENTER SERIAL" the foreground color will be Red. Also, have set the binding on the text to have a FallbackValue. What this will do is the text will fall back to "ENTER SERIAL" if no input has been entered.
Please
login
to post a reply.