$okkeyobject

Wayne Germann wgermann at PACIFIC.EDU
Tue Feb 22 20:13:24 UTC 2022


Thanks Philip.   I will try that.   

-----Original Message-----
From: Philip Tulett <philip.tulett at pdq-networks.com> 
Sent: Monday, February 21, 2022 11:22 AM
To: Wayne Germann <wgermann at PACIFIC.EDU>
Cc: 'OmnisDev List - English' <omnisdev-en at lists.omnis-dev.com>
Subject: RE: $okkeyobject

Hi Wayne,

When I have used it in relation to PagePanes, I always use it after changing to the required pane, as in:-
  Do $cinst.$objs.LogonPane.$currentpage.$assign(2)
  Do $cinst.$setcurfield($cinst.$objs.NewPassword)
  Do $cinst.$okkeyobject.$assign('ChangePassword')

That works in my libs.


Kind regards
Philip

-----Original Message-----
From: Wayne Germann <wgermann at PACIFIC.EDU>
Sent: 21 February 2022 18:20
To: Philip Tulett <philip.tulett at pdq-networks.com>
Cc: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
Subject: Re: $okkeyobject

Ooopppps,  those were type o’s

The full correct notation on jsform is 

Do $cinst.okkeyobject.$assign(‘Tab2OK’)

I have this placed inside a tab object method.  When I select tab 2 it should reset the $okkeyobject to the Tab2OK object.   But, it stays assigned to the forms default $okkeyobject.

Sent from my iPhone

> On Feb 20, 2022, at 10:25 AM, Philip Tulett <philip.tulett at pdq-networks.com> wrote:
> 
> CAUTION: This email originated from outside of Pacific. Do not click any links or open attachments if this is unsolicited email.
> 
> Hi Wayne,
> 
> The name of the object should be enclosed within single quotes, as
> in:-
> 
> Do $cinst.$okkeyobject.$assign('Tab2OK')
> 
> Plus the fullstop as as Jim mentioned.
> 
> 
> 
> Kind regards
> Philip
> 
> -----Original Message-----
> From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> On Behalf 
> Of Jim Pistrang
> Sent: 20 February 2022 18:17
> To: Omnis List Mail <omnisdev-en at lists.omnis-dev.com>; Wayne Germann 
> <wgermann at PACIFIC.EDU>
> Subject: Re: $okkeyobject
> 
> Hi Wayne,
> 
> This might just be a typo in your email, but if everything else is 
> correct you would need a period between $okkeyobject and $assign
> 
> Jim
> 
>> Hello all,
>> 
>> I have a js form with a tab object.   When I select a particular tab, I
>> want to change the $okkeyobject to another object.   Behind the tab
>> methods, I put
>> 
>> $cinst.$okkeyobject$assign(Tab2OK)
>> 
>> This isn't working.   Am I getting the notation wrong?
>> 
>> Sent from my iPhone
>> _____________________________________________________________
>> Manage your list subscriptions at https://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 https://lists.omnis-dev.com Start a 
> new message -> mailto:omnisdev-en at lists.omnis-dev.com
> 



More information about the omnisdev-en mailing list