O7 : Changing color in table
Jim Creak
jim at jacsoft.co.nz
Thu Jan 7 02:04:31 EST 2010
Is it because you have a "select colour" overriding the line when you
click on the line, on the Mac you can define your highlight colour
when something is selected, and I am just wondering if it is this
that is over riding your wished colour.
Not sure what you can do to overcome this, from what you said before
you are making the whole list non-enterable, which in effect changes
the way a click on a line is displayed. My suggestion would be to
leave the list enterable, but set each of the fields on the list as
non-enterable.
Thanks
Jim
JACSoft Programming Ltd.
On 5/01/2010, at 10:15 PM, a a wrote:
> 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
>
>
>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list