How to improve field visibilty in Table view w. HTML?

Hi again,

I’m frustrated with the following problem:

I want ot improve the GUI thus marking e.g. invalid (input) values of a table view red.
This works fine with HTML: so say negative becomes red positive is black.

Only when selecting a record my TEXT_FIELD values nicely have white text on dark blue bg, whereas
my HTML_AREA field simply hangs on to the red and black.
Is there a workaround for this ?? (Can’t see jack s… like black on dark blue :evil: )

I trigger with a calculation field, say:

    // Red if negative
	if (clc_uitvul_cold > 0) { 
		v_out = '<html><DIV STYLE="color: black; \
			                      text-align: right; \
			                      font-size: 11pt;">' + sNumber + '</DIV></html>';		
	}else {
		v_out = '<html><DIV STYLE="color: red; \
			                      text-align: right; \
			                      font-size: 11pt;">' + sNumber + '</DIV></html>';
	}	
    return v_out;

Is it possible to trigger the selected record and make text white ?
Don’t know how to do this in a calculation :roll:

But maybe this UI deficit should be approached differently al together… any ideas?

Regards, Jan

Hi Jan. try using onRender

Thanks for the responce jasantana,

So, where is this onRender event ??
( I’m not using images it’s HTML text so i don’t understand …render )

How do u use it?
Regards, Jan

The onRender event is at form level and at element level.

Yes, oke

I found it on Servoy 6
Unfortunately, my sln is stil in Servoy5

Thx for the effort Juan

Oh! sorry man.

Think about upgrading, it is worth