Studio 8 - changing the text colour on a report

Terence Young terry.young at journeymhc.org
Thu Oct 22 11:09:52 EDT 2020


HI,

The 'calculate xxx as..' works in reversible blocks; but the 'Do xxxx.$assign()' does not always.

terry


Terence J. Young, DC

System Administrator

IT

(608) 280-2679

________________________________
From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> on behalf of Andy Hilton <andyh at totallybrilliant.com>
Sent: Saturday, October 3, 2020 10:10 AM
To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
Subject: Re: Studio 8 - changing the text colour on a report

CAUTION: This email originated from outside Journey. Please verify the sender before opening attachments or clicking links.


That raises the interesting question that I had always thought :

Calculate as

Was the exact same thing as

Do xxxx.$assign()

Does anyone know definitively if there is any difference ?


Andy Hilton
Totally Brilliant Software Inc
Phone (US) : (863) 409 4870
Phone (UK) : 0207 193 8582
Web : www.totallybrilliant.com<http://www.totallybrilliant.com> <http://www.totallybrilliant.com/>
Helpdesk : http://totallybrilliant.kayako.com
Email : andyh at totallybrilliant.com

> On Oct 3, 2020, at 11:06 AM, <malkishtini at gmail.com> <malkishtini at gmail.com> wrote:
>
> 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
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com

_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
If you received this e-mail in error, please notify the sender, delete the e-mail, and do not use, disclose or store the information it contains. This e-mail and any attachments may contain confidential information, including records protected by WI Mental Health 51.30 and/or AODA federal confidentiality rules (42 CFR Part 2) - both prohibit you from making any further disclosure of this information unless further disclosure is expressly permitted by the written consent of the person to whom it pertains or as otherwise permitted by 51.30 or 42 CFR Part 2. A general authorization for the release of medical or other information is NOT sufficient for this purpose. Federal rules restrict any use of this information to criminally investigate or prosecute any alcohol or drug abuse client.



More information about the omnisdev-en mailing list