Discussions relating to breakout scripting, .NET and COM programming with Jiwa objects.
by aegean66 » Thu Sep 10, 2015 8:50 pm
Is there a way to change the colour on a sales order to make it obvious which warehouse you are in. (similar to how credits are red)
eg:
if SalesOrderOnject.LogicalID = "ASDGADFGFG" then
Make SalesOrderColour = blue
Else
End if
-
aegean66
- Occasional Contributor
-
- Posts: 36
- Joined: Wed Mar 02, 2011 2:26 pm
- Location: Usa
- Topics Solved: 2
-
by Scott.Pearce » Wed Sep 16, 2015 5:01 pm
You could do something like this in Form Loaded:
- Code: Select all
If SalesOrderObject.LogicalID = "ZZZZZZZZZZ0000000000" Then
FormObject.SSPanelSalesOrder.BackColor = &H00008000&
End If
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
-
Scott.Pearce
- Senpai
-
- Posts: 743
- Joined: Tue Feb 12, 2008 11:27 am
- Location: New South Wales, Australia
- Topics Solved: 221
-
by aegean66 » Wed Sep 16, 2015 8:51 pm
Perfect. Thanks Scott for that.
What other properties does the FormObject have? how can I find this info?
Also the text and/or background colours on each sales order line?
cheers
Damon.
-
aegean66
- Occasional Contributor
-
- Posts: 36
- Joined: Wed Mar 02, 2011 2:26 pm
- Location: Usa
- Topics Solved: 2
-
Return to Technical / Programming
Who is online
Users browsing this forum: No registered users and 1 guest