"The big thank you goes to you! I’ve never seen such smooth and rapid development in such a tight time frame. It has been a real joy to work with you all :)”
Jaana Nylund, Project manager, Efima Oy, 2011

Different colors for different lines in the grid on the form

Method displayOption has to be overridden on the form datasource to display lines in different colors.

Code example:

public void displayOption(Common _record, FormRowDisplayOption _options)
{
    CustTable    custTable = _record;
    ;

    if (custTable.CustGroup == "FOR")
    {
        _options.backColor(WinApi::RGB2int(255,64,64));
    }

    super(_record, _options);
}

Write a comment