Page 1 of 1

Sales Order line colours

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

Re: Sales Order line colours

PostPosted: Mon Apr 18, 2011 12:11 pm
by Mike.Sheen
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