Set color of datasource record

public void displayOption(Common _record, FormRowDisplayOption _options) { #define.LightGray(200, 200, 200) CargoDetailedPlanJour cargoDetailedPlanJourLoc; RecId recId; ; recId = _record.RecId; select firstOnly tmpTransMarked exists join cargoDetailedPlanJourLoc where cargoDetailedPlanJourLoc.DetailedPlanId == tmpTransMarked.DetailedPlanId && cargoDetailedPlanJourLoc.RecId == recId; if (tmpTransMarked) _options.backColor(WinAPI::RGB2int(#LightGray)); }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.