Form > Datasource>Methods>displayOption
public void displayOption(Common _record, FormRowDisplayOption _options)
{
Tablename table;
if(_record.RecId)
{
select table where table.recid == _record.RecId;
if(table.Status == Status::Posted)
{
_options.textColor(WinAPI::RGB2int(250,1,1));
}
}
super(_record, _options);
}
public void displayOption(Common _record, FormRowDisplayOption _options)
{
Tablename table;
if(_record.RecId)
{
select table where table.recid == _record.RecId;
if(table.Status == Status::Posted)
{
_options.textColor(WinAPI::RGB2int(250,1,1));
}
}
super(_record, _options);
}
No comments:
Post a Comment