How do you force PowerBuilder to reflect recent changes to properties of a datawindow object while making changes in the datawindow painter? For example, I'm setting background color of a column based on an expression and I retrieve the data in development mode to do quick test but each time I change the RGB color for background it isn't reflected in datawindow unless I close and reopen it- then re-retrieve some data. Annoying and it happens with other properties, display formats, etc.
Adding detail to this question:
The problem: Let's say I'm not sure what the percentages or colors are- and I'm changing them while developing. Any change to the expression is not reflected in background color unless datawindow closed and reopened- and re-retrieved of course.
if (
(
(epa_approved_volume -
if (isnull(epa_used_volume) ,0 ,epa_used_volume)
) / epa_approved_volume) < 0.01, rgb(240, 40, 40),
if (
(
(epa_approved_volume -
if ( isnull(epa_used_volume ) , 0 , epa_used_volume )
) / epa_approved_volume) < 0.25, rgb(250, 250, 0), rgb(50, 200, 50)
)
)
This has been an issue for many versions. I would submit it as a bug. Appeon is much more open to fixing bugs th SAP or Sybase ever were.