ScriptUI stroking a field
Hi,
I need to red stroke fields. Inspite of the doc and this great thread : http://forums.adobe.com/message/4215908#4215908,
I can't get it working ![]()
field.onDraw = function()
{
var gx = this.graphics,
pen = this.graphics.newPen (this.graphics.PenType.SOLID_COLOR, [1, 0, 0,1], 5);
gx.drawOSControl();
gx.rectPath( this.location[0] , this.location[1], this.size.width, this.size.height);
gx.strokePath(pen);
}
What am I doing wrong ?
Best,
Loic