onRender by a formvariable condition?

Perhaps my question is a little bit silly, but why does this not work for onRender on an object (Text Field) in a Table View?

if(fv_check_int == 1){ // fv_check_int is a formvariable
	event.getRenderable().font = 'Verdana,1,12';
} else {
	event.getRenderable().font = 'Verdana,0,12';
}

Regards

this should work fine, it fv_check_int is a form variable, if it were from the
foundset record, then it would not work, unless you get the record value via even.getRecord;

what if you change fgcolor, does it work for that ?
you may create a case for this problem, with a sample

regards

Gabi Boros:
what if you change fgcolor, does it work for that ?
you may create a case for this problem, with a sample

Hi Gabi,
thank you for your reply.

If I change the fgcolor, this is working.
I think I should create a case…

Regards