Sales Order line colours

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

Sales Order line colours

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

Can I give lines on sales orders a custom colour, like already there for kits etc.

Scenario is that I have a custom field in inventory (boolean) and if its ticked, then display the line in a different colour.

And even more complex, can I then ask the user if they'd like to split that line to a new order? And do the split.

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: Sales Order line colours

Postby Mike.Sheen » Mon Apr 18, 2011 12:11 pm

Just set the ForeColor property of a selection to be a value - eg :

Code: Select all
With FormObject.grdLines
   .Col = -1
   .Col2 = -1
   .Row = Row
   .Row2 = Row
   .ForeColor = vbRed
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756


Return to Technical / Programming

Who is online

Users browsing this forum: No registered users and 4 guests