O$ 4.3.1.2 - Task Object Variable

Robert Mostyn robertmostyn99 at gmail.com
Wed Jul 24 09:51:43 EDT 2013


Very good Michael.
But I think you are breaking "good OO behaviour" rules.  Be careful about breaking the rules!  Omnis lets us do that much more easily than other environments.    :-)
Rob

On Wed24 Jul 2013, at 12:54, Michael Mantkowski <michaelj at clientrax.com> wrote:

> Thanks everyone for all their ideas.
> 
> What finally worked was to create an instance variable in the window that
> pointed to the object.
> 
> This seems to have provided the scope I needed.
> 
> I was not able to get the task version of it to work across the libraries.
> 
> *********************************************************************
> Michael Mantkowski
> ClienTrax Software
> 1-614-875-2245
> *********************************************************************
> 
> 
> 
> -----Original Message-----
> From: omnisdev-en-bounces at lists.omnis-dev.com
> [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf Of Michael
> Monschau
> Sent: Tuesday, July 23, 2013 11:51 AM
> To: OmnisDev List - English
> Subject: Re: O$ 4.3.1.2 - Task Object Variable
> 
> 
> Make sure your task "ClientTrax" $external property is set to kTrue, so
> other libraries can see it and than try the $itasks route again.
> 
> 
> Regards,
> Michael
> 
> Michael Monschau (Director)
> Brainy Data Limited
> 
> Reply To: michael at brainydata.co.uk
> Phone: +44 (0)870 474 0708
> Web: www.brainydata.co.uk the home of Omnis Components and Developer
> Services
> 
> 
> 
> 
> 
> 
> On 23 Jul 2013, at 01:13, Michael Mantkowski wrote:
> 
>> I have a Task Variable Object that I use for Capitalization functions.
>> 
>> Do tFun.$cap()
>> 
>> I am opening a window in the same library from a different library (task)
> and the function does not work.
>> 
>> Does anyone know how you can access another libraries task variables from
> a different task?
>> 
>> I tried prefixing the tasks name like:
>> 
>> Do ClienTrax.tFun.$cap()
>> 
>> Still does not work.
>> 
>> Thanks
>> 
>> *********************************************************************
>> Michael Mantkowski
>> ClienTrax Software
>> 1-614-875-2245
>> *********************************************************************
>> 
>> _____________________________________________________________
>> 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