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.

Menu Object

3 posts in Objects Last posting was on 2006-07-19 03:53:14.0Z
Alex Posted on 2006-07-18 11:08:07.0Z
Sender: 5e17.44bcb834.1804289383@sybase.com
From: Alex
Newsgroups: sybase.public.powerbuilder.objects
Subject: Menu Object
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <44bcbf6a.5e37.1681692777@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 18 Jul 2006 04:00:59 -0700, 10.22.241.42
Lines: 14
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 18 Jul 2006 04:00:59 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 18 Jul 2006 04:08:07 -0700
X-Trace: forums-1-dub 1153220887 10.22.108.75 (18 Jul 2006 04:08:07 -0700)
X-Original-Trace: 18 Jul 2006 04:08:07 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8949
Article PK: 736147

Dear all,

I have two windows and two menu objects. 1st window type is
MDI with microhelp and the next one is main window both have
menu objects. Usually MDI window will be opened first, from
the MDI menu I am opening the next main window, when the
main window is opened the MDI Window's menu disappeared.

I want to see both menu in the same time. Is it possible, if
so please guide me how to do this task.

Regards,

Alex.


Jason 'Bug' Fenter [TeamSybase] Posted on 2006-07-18 12:53:23.0Z
From: "Jason 'Bug' Fenter [TeamSybase]" <jason.fenter@teamsybase.com>
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Menu Object
References: <44bcbf6a.5e37.1681692777@sybase.com>
In-Reply-To: <44bcbf6a.5e37.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: ppp-70-251-87-219.dsl.rcsntx.swbell.net
Message-ID: <44bcd81e@forums-2-dub>
X-Original-Trace: 18 Jul 2006 05:46:22 -0700, ppp-70-251-87-219.dsl.rcsntx.swbell.net
Lines: 20
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 18 Jul 2006 05:46:25 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 18 Jul 2006 05:53:23 -0700
X-Trace: forums-1-dub 1153227203 10.22.108.75 (18 Jul 2006 05:53:23 -0700)
X-Original-Trace: 18 Jul 2006 05:53:23 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8950
Article PK: 736146


Alex wrote:
> Dear all,
>
> I have two windows and two menu objects. 1st window type is
> MDI with microhelp and the next one is main window both have
> menu objects. Usually MDI window will be opened first, from
> the MDI menu I am opening the next main window, when the
> main window is opened the MDI Window's menu disappeared.
>
> I want to see both menu in the same time. Is it possible, if
> so please guide me how to do this task.
>
> Regards,
>
> Alex.

Are you opening the main window using OpenSheet() or
OpenSheetWithParm()? I have never (ever) seen a window with two menus. I
see them with two toolbars, but never two menus. Can you clarify on what
you want?


Steve Katz [TeamSybase] Posted on 2006-07-19 03:53:14.0Z
From: "Steve Katz [TeamSybase]" <steve.katz@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <44bcbf6a.5e37.1681692777@sybase.com>
Subject: Re: Menu Object
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-Original-NNTP-Posting-Host: ool-43555f29.dyn.optonline.net
Message-ID: <44bdab02@forums-2-dub>
X-Original-Trace: 18 Jul 2006 20:46:10 -0700, ool-43555f29.dyn.optonline.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 18 Jul 2006 20:46:11 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 18 Jul 2006 20:53:14 -0700
X-Trace: forums-1-dub 1153281194 10.22.108.75 (18 Jul 2006 20:53:14 -0700)
X-Original-Trace: 18 Jul 2006 20:53:14 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8951
Article PK: 736148

Usually you use menu inheritance in this case where the MDI menu has basic
options and the Sheet menu has additional options (and may also hide/disable
some MDI options).

Or you can just have one menu and dynamically modify the items that are
available for the user by setting the enable and hide attributes of the menu
items.

steve
[TeamSybase]

<Alex> wrote in message news:44bcbf6a.5e37.1681692777@sybase.com...
> Dear all,
>
> I have two windows and two menu objects. 1st window type is
> MDI with microhelp and the next one is main window both have
> menu objects. Usually MDI window will be opened first, from
> the MDI menu I am opening the next main window, when the
> main window is opened the MDI Window's menu disappeared.
>
> I want to see both menu in the same time. Is it possible, if
> so please guide me how to do this task.
>
> Regards,
>
> Alex.