Changing Background/Text Color of a Lookup Edit at Runtime in SalesLogix v7.5.1

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:

function setBackgroundTH(objCtr)
var obj = document.getElementById(objCtr);
if (obj != undefined)
{ = “url(/SlxClient/images/blue/tableheader.gif)”;
catch(e) {}

Want content like this delivered to your inbox? Sign up for our newsletter!

Submit a Comment

Your email address will not be published. Required fields are marked *