Question: Is it possible to change the background color and/or the text color of a Lookup Edit control at Runtime in SalesLogix v7.5.1?
Answer: You can use Javascript in the SalesLogix v7.5.1 client to change the color and/or background image if necessary. This code should get you going in the right direction:
setBackgroundTH("LookupView");
function setBackgroundTH(objCtr)
{
try
{
var obj = document.getElementById(objCtr);
if (obj != undefined)
{
obj.firstChild.style.backgroundImage = "url(/SlxClient/images/blue/tableheader.gif)";
}
}
catch(e) {}
}