O7 : Changing color in table
a a
infomni at yahoo.fr
Tue Jan 5 04:15:10 EST 2010
Hello Jim
You're right
It was $backcolor
But the effect is not perfect because when I select the line, the color changes in gray
I want to keep the difference of color even if if select the line
I try with $texcolor but the color changes in gray
Have you an idea to keep the $texcolor ?
Thanks
--- En date de : Mar 5.1.10, Jim Creak <jim at jacsoft.co.nz> a écrit :
De: Jim Creak <jim at jacsoft.co.nz>
Objet: Re: O7 : Changing color in table
À: "OmnisDev List - English" <omnisdev-en at lists.omnis-dev.com>
Date: Mardi 5 Janvier 2010, 9h46
Things to try:
Have you tried leaving the table Enterable, but disable $active
Have you tried leaving the table Enterable, and setting the Row objs
to be Non-Enterable.
Have you tried changing .$backcolor ? I tend to do both to make sure
I get the colour I want:
calculate VF_Ref(1198,1).$backcolor as 8
calculate VF_Ref(1198,1).$forecolor as 8
Of course if you have set the pattern right it is not an issue, but
I have used this for both enterable and display items.
Other things to check:
Have you got two fields on top of each other
Is your item a Background obj? (Then use Set reference VF_Ref as
$cwind.$objs.1197.$tabrbobjs)
Thanks
Jim
JACSoft Programming Ltd.
On 5/01/2010, at 2:37 AM, a a wrote:
> Hello
>
> I want to change color of a field in a line of a table
>
> I use this
>
> Set reference VF_Ref to $cwind.$objs.1197.$tabrobjs
> Calculate VF_Ref(1198;1).$forecolor as 8
>
> This work only if my table is ENTERABLE
>
> How can I do this in a non enterable table ?
>
> Thanks
>
>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list