SET BACKGROUND COLOR FOR PARTICULAR RECORD
public void displayOption(Common _record, FormRowDisplayOption _options)
{
if (_record.(fieldnum(Contributions,Year))=="2011")
{
_options.backColor(WinAPI::RGB2int(500,100,255));
}
else if(_record.(fieldnum(Contributions,Year))=="2014")
{
_options.backColor(WinAPI::RGB2int(101,100,255));
}
super(_record, _options);
}
public void displayOption(Common _record, FormRowDisplayOption _options)
{
if (_record.(fieldnum(Contributions,Year))=="2011")
{
_options.backColor(WinAPI::RGB2int(500,100,255));
}
else if(_record.(fieldnum(Contributions,Year))=="2014")
{
_options.backColor(WinAPI::RGB2int(101,100,255));
}
super(_record, _options);
}
No comments:
Post a Comment