Studio 8 - changing the text colour on a report

malkishtini at gmail.com malkishtini at gmail.com
Sat Oct 3 11:06:40 EDT 2020


Oops.I meant to say 
Do
$root.$ireports.rbusinesslabelsfx.$objs.OBJECTNAME.$textcolor.$assign(kRed)

HTH,
Mayada
-----Original Message-----
From: malkishtini at gmail.com [mailto:malkishtini at gmail.com] 
Sent: Saturday, October 03, 2020 11:03 AM
To: 'OmnisDev List - English'
Subject: RE: Studio 8 - changing the text colour on a report

Hi Randy,

One more thing to add here, I'm not sure if $assign works with " calculate
as", so I would change the line of code to

Do
$root.$ireports.rbusinesslabelsfx.$objs.OBJECTNAME.$textcolor.$assign(kTrue)

Regards,
Mayada


-----Original Message-----
From: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf
Of Jim Pistrang
Sent: Saturday, October 03, 2020 10:56 AM
To: Omnis List Mail
Subject: Re: Studio 8 - changing the text colour on a report

Hi Randy,

I think the problem is that $textcolor is not a property of a report, it is
a property of objects in the report class.

You need the name of the object here:
  $root.$ireports.rbusinesslabelsfx.$objs.OBJECTNAME.$textcolor.$assign

Jim
  

>Hi List,
>
>I would like to have a colour picker when a user selects a report to
>print but to start I just want to assign a colour to a report.  My piece
>of notation doesn't work below:
>
>	Calculate $root.$ireports.rbusinesslabelsfx.$objs.$textcolor.$assign
as kRed
>
>Any suggestions?
>
>
>
>Thanks,
>
>Randy Wilson
>Plum Hollow Software Inc.
>plum_hollow at cogeco.ca
>905-563-6516
>
>
>
>
>_____________________________________________________________
>Manage your list subscriptions at http://lists.omnis-dev.com
>Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 

-- 
Jim Pistrang
JP Computer Resources
413-237-5710
<https://jpcr.com>


_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 




More information about the omnisdev-en mailing list