Window Colours

Discussions relating to breakout scripting, .NET and COM programming with Jiwa objects.

Window Colours

Postby robin » Thu Jan 20, 2011 2:31 pm

Had the question asked of me if it is possible to change the colors of the sales order and quotes windows, much like the credits window changes to red when doing credits.
I suggested that its probably part of the salesorderUI.dll file and so would not be possible but I thought I would check with you guys as well.

Regards
Robin
robin
Occasional Contributor
Occasional Contributor
 
Posts: 26
Joined: Tue May 19, 2009 1:11 pm

Re: Window Colours

Postby Danny C » Mon Feb 07, 2011 5:15 pm

Yep its possible.
I've done this for one of my Jiwa clients who has the sales order displaying a different colour depending if it is a forward order, Invoice order or reserve order.

If <condition> THEN
FormObject.BackColor = vbBlue
FormObject.Frame(0).BackColor = vbBlue
End If

Obviously vbBlue isn't the only choice!

Cheers

Danny Costa
The Accolade Group
User avatar
Danny C
Occasional Contributor
Occasional Contributor
 
Posts: 19
Joined: Tue Mar 04, 2008 3:25 pm

Re: Window Colours

Postby robin » Mon Feb 14, 2011 1:55 pm

Thanks Danny,

Still having some issues getting this working, could you per chance give me an example of one the conditionals that you are using, nothing I'm using is working, once I see how its done I'll be sorted.

Not a regular coder, just a lil on the side hehe.
robin
Occasional Contributor
Occasional Contributor
 
Posts: 26
Joined: Tue May 19, 2009 1:11 pm

Re: Window Colours

Postby robin » Tue Feb 22, 2011 4:03 pm

Never mind managed to work it out myself :)
robin
Occasional Contributor
Occasional Contributor
 
Posts: 26
Joined: Tue May 19, 2009 1:11 pm


Return to Technical / Programming

Who is online

Users browsing this forum: No registered users and 5 guests