Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

On Focus FIELDS COLOR

Status
Not open for further replies.

johntektips

Technical User
Aug 31, 2002
4
0
0
US
HI EVERYONE,

CAN ANY ONE INSTURCT ME AS HOW TO CHANGE THE COLOR OF A FIELD IN "On Focus" ACTION. THIS IS TO MAKE THE FIELDS MORE VISIBLE WHEN TABING INTO.

THANKS
 
var a = this.getField("fieldName");

// create your own color by getting true RGB values and dividing each number by 255
color.myColor = new Array("RGB",1,1,.62);
a.fillColor = color.myColor;

// you can also use standard colors like this
a.fillColor = color.red

Hope that helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top