Refresh window

My solution has a “redline” feature – the option to suspend a service. Suspended services are noted by having a red line drawn through the service’s name. I generate that red line as a calculation returning a graphic. (If value = 1, show graphic, otherwise not).

When I type a 1 into the key field the redline instantly appears. But when I type a 0, it stays put. However, if I log out of Servoy and come right back in, the red line is gone. If this were FMP I’d run a “refresh window” command about now. According to Bob Cusick’s list of FMP equivalents in Servoy there’s no equivalent.

Am I indeed facing a screen refresh problem, or may there be something else at work here?

In case it matters the redline is on a tabpanel in listview.

Ain’t there an application.updateUI(); command in the application node?

Paul

Paul’s remark is correct but Morley, what does your calculation look like? Because it should work if entering a ‘1’ works…

Solved it.

if ( inactive_user == 1 )
{
	return univ$sec_to_graph.redline;
}
else
{
	return '';
}

My original code included only the positive part of the if statement, didn’t provide for the contrary covered now by “return ‘’;”

Thanks Marcel for prodding me in the right direction.