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.

Creating Menu Object/Item

2 posts in Objects Last posting was on 2007-07-24 23:30:48.0Z
John Smith Posted on 2007-07-24 06:15:52.0Z
Sender: 42ad.46a598cb.1804289383@sybase.com
From: John Smith
Newsgroups: sybase.public.powerbuilder.objects
Subject: Creating Menu Object/Item
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <46a59918.42b4.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 23 Jul 2007 23:15:52 -0700
X-Trace: forums-1-dub 1185257752 10.22.241.41 (23 Jul 2007 23:15:52 -0700)
X-Original-Trace: 23 Jul 2007 23:15:52 -0700, 10.22.241.41
Lines: 10
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9386
Article PK: 736545

Hi All,

In my application I need to create dynamic menu/menu item,is
it possible by coding.

Advance thanks for any help,

Regards,

John Smith


Adam Simmonds [TeamSybase] Posted on 2007-07-24 23:30:48.0Z
From: "Adam Simmonds [TeamSybase]" <adam.simmonds@remove.exemail.com.au>
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Creating Menu Object/Item
References: <46a59918.42b4.1681692777@sybase.com>
In-Reply-To: <46a59918.42b4.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: nat-1516.mp.usyd.edu.au
X-Original-NNTP-Posting-Host: nat-1516.mp.usyd.edu.au
Message-ID: <46a68ba8$1@forums-1-dub>
Date: 24 Jul 2007 16:30:48 -0700
X-Trace: forums-1-dub 1185319848 129.78.57.236 (24 Jul 2007 16:30:48 -0700)
X-Original-Trace: 24 Jul 2007 16:30:48 -0700, nat-1516.mp.usyd.edu.au
Lines: 24
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9388
Article PK: 736546


John Smith wrote:
> Hi All,
>
> In my application I need to create dynamic menu/menu item,is
> it possible by coding.

I would imagine this would be quite difficult, not necessarily from the
creation of the menus but you are going to find it hard to write code
for the menu item.

Your best option is to have a base menu that will have your common menu
items like Close, Exit etc. Then you descend from this menu for specific
windows and you will add items related to that window. If a window
doesnt require a particular item from the ancestor menu you will hide or
disable the item.

a.


> Advance thanks for any help,
>
> Regards,
>
> John Smith