Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

syntax to walk the inheritance ladder...

3 posts in Objects Last posting was on 2003-04-21 11:17:19.0Z
Al Knowles Posted on 2003-04-20 14:47:39.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Al Knowles" <codefinger@home.com>
Subject: syntax to walk the inheritance ladder...
Date: Sun, 20 Apr 2003 09:47:39 -0500
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: ip68-11-88-35.no.no.cox.net 68.11.88.35
Message-ID: <364_O16Nxw0BDHA.296@forums-1-dub>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-1-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7339
Article PK: 734629

PB6
--------------------
m_encounter mMyMenu
mMyMenu = this.MenuID
mMyMenu.m_print.Enabled = FALSE


Will not compile. Says incompatible property m_print for type m_encounter.
The m_encounter menu does have an m_print sub-menu, but it is named like
this:

m_oc_sheet::m_print

In script, how do I access m_print to enable or disable it?

Thanks in advance for your kind responses.


Michael Zhao Posted on 2003-04-21 06:09:02.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Michael Zhao" <michaelzhao@tzit.cn>
Subject: Re: syntax to walk the inheritance ladder...
Date: Mon, 21 Apr 2003 14:09:02 +0800
Lines: 34
Organization: TZIT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: branch-2-h130.sta.net.cn 61.152.210.130
Message-ID: <364_O6zQU08BDHA.331@forums-1-dub>
References: <364_O16Nxw0BDHA.296@forums-1-dub>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-1-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7341
Article PK: 734631

Hi,
I don't know your menu m_encounter'structure ,in commen,it has a m_file
menu ,and m_file has a m_print menu,if so,your script should be:
m_encounter mMyMenu

> mMyMenu = this.MenuID
> mMyMenu.m_file.m_print.Enabled = FALSE

"Al Knowles" <codefinger@home.com> wrote in message
news:O16Nxw0BDHA.296@forums-1-dub...
>
> PB6
> --------------------
> m_encounter mMyMenu
> mMyMenu = this.MenuID
> mMyMenu.m_print.Enabled = FALSE
>
>
> Will not compile. Says incompatible property m_print for type
m_encounter.
> The m_encounter menu does have an m_print sub-menu, but it is named like
> this:
>
> m_oc_sheet::m_print
>
> In script, how do I access m_print to enable or disable it?
>
> Thanks in advance for your kind responses.
>
>
>


Al Knowles Posted on 2003-04-21 11:17:19.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Al Knowles" <codefinger@home.com>
Subject: Re: syntax to walk the inheritance ladder...
Date: Mon, 21 Apr 2003 06:17:19 -0500
Lines: 43
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: ip68-11-88-35.no.no.cox.net 68.11.88.35
Message-ID: <364_eaYZ7f$BDHA.221@forums-1-dub>
References: <364_O16Nxw0BDHA.296@forums-1-dub> <364_O6zQU08BDHA.331@forums-1-dub>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-1-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7342
Article PK: 734630

DUH!

Thanks.

"Michael Zhao" <michaelzhao@tzit.cn> wrote in message
news:O6zQU08BDHA.331@forums-1-dub...
> Hi,
> I don't know your menu m_encounter'structure ,in commen,it has a
m_file
> menu ,and m_file has a m_print menu,if so,your script should be:
> m_encounter mMyMenu
> > mMyMenu = this.MenuID
> > mMyMenu.m_file.m_print.Enabled = FALSE
>
>
>
> "Al Knowles" <codefinger@home.com> wrote in message
> news:O16Nxw0BDHA.296@forums-1-dub...
> >
> > PB6
> > --------------------
> > m_encounter mMyMenu
> > mMyMenu = this.MenuID
> > mMyMenu.m_print.Enabled = FALSE
> >
> >
> > Will not compile. Says incompatible property m_print for type
> m_encounter.
> > The m_encounter menu does have an m_print sub-menu, but it is named like
> > this:
> >
> > m_oc_sheet::m_print
> >
> > In script, how do I access m_print to enable or disable it?
> >
> > Thanks in advance for your kind responses.
> >
> >
> >
>
>