Page 1 of 1

Window Colours

PostPosted: Thu Jan 20, 2011 2:31 pm
by robin
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

Re: Window Colours

PostPosted: Mon Feb 07, 2011 5:15 pm
by Danny C
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

Re: Window Colours

PostPosted: Mon Feb 14, 2011 1:55 pm
by robin
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.

Re: Window Colours

PostPosted: Tue Feb 22, 2011 4:03 pm
by robin
Never mind managed to work it out myself :)