Studio 4
Hi Wendy,
How about a background object within the complex grid as an example:
ie:
Calculate lnColour as
pick(int(ilEntryList.$line/2)=(ilEntryList.$line/2),rgb(255,255,255),rgb(238,255,255))
;; white ; light dark blue rgb(238,238,255)
Do
$cinst.$objs.ilEntryList.$bobjs.1059.[ilEntryList.$line].$backcolor.$assign(lnColour)
or just visible:
Do
$cinst.$objs.ilEntryList.$objs.ScreenObj.[ilEntryList.$line].$visible.$assign(kTrue)
Does this help you?
regards
Phil Potter
Based in Chester in the UK.
On 04/09/2017 09:55, Wendy wrote:
> Hi
>
> I am sure this has been discussed before but I deleted the messages thinking I would not need to do that 🙁
>
> I have a complex grid in a window and what I would like to do dependant upon the data is to change the colour of the cells.
>
> I have defined the cells as Picture fields and I can see the correct values in the list but they do not display on the screen.
>
> What am I doing wrong?
>
> Many thanks
> Wendy Osbaldestin
> Wizard Computer Services
> Tel: 01260271647
> Mobile: 07740541021
>
>
> _____________________________________________________________
> Manage your list subscriptions at lists.omnis-dev.com
>
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com