I’m using the rowBGColorCalculation on a form in TableView. This intends to show the complete record with a certain background color.
Unfortunately this is not the case. See my screenshot. Field that have the property ‘Editable’ unchecked (which is often the case when showing related fields), are not shown in the calculated background color.
In my opinion this is a bug
It looks like these fields are transparent? Try without transparency and it should work.
These fields are not transparent (none of them)
When I make a field transparent, the color becomes gray (for both editable and non-editable fields)
I also checked if a style has influance on the situation. That is not the case either.
And also the L&F doesn’t effect it.
So I really think this is a bug
Only that it works for me here… What kind of a field is it? Directly taken from a relation or a calculation?
Both tablefields and also related fields (calculated and non-calculated fields). It doesn’t depend on the type of field.
When setting the Editible checkbox on true, then it shows the correct background.
patrick
January 31, 2008, 10:14am
7
Sorry to say but whatever I do I see the background color correctly. The only thing that changes that is when I set the field to transparent.
Btw: from your screenshot I would say this is NOT a Servoy table view. Is it a list view? What look and feel is that?
martinh
January 31, 2008, 10:26am
8
It is a Servoy Table View
And it is my own L&F (using TinyLAF)
But I tried with Windows Classic LAF and that gives the same situation
martinh
January 31, 2008, 10:26am
9
And this is the fieldspec
patrick
January 31, 2008, 10:28am
10
does it behave differently with the standard look and feel?
martinh
January 31, 2008, 10:40am
11
It looks that you are right.
It depends on the LAF.
I think I had also some cache problem.
Because I had Windows Classic giving sometimes the same problem en sometime not.
You convinced me that the LAF is the problem.
So it doesn’t seem a bug in Servoy
Thanks for checking this out.
Martin