Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - - 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
From: John Smith
Newsgroups: sybase.public.powerbuilder.objects
Subject: Creating Menu Object/Item
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <>
Date: 23 Jul 2007 23:15:52 -0700
X-Trace: forums-1-dub 1185257752 (23 Jul 2007 23:15:52 -0700)
X-Original-Trace: 23 Jul 2007 23:15:52 -0700,
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,


John Smith

Adam Simmonds [TeamSybase] Posted on 2007-07-24 23:30:48.0Z
From: "Adam Simmonds [TeamSybase]" <>
User-Agent: Thunderbird (Windows/20061025)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Creating Menu Object/Item
References: <>
In-Reply-To: <>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <46a68ba8$1@forums-1-dub>
Date: 24 Jul 2007 16:30:48 -0700
X-Trace: forums-1-dub 1185319848 (24 Jul 2007 16:30:48 -0700)
X-Original-Trace: 24 Jul 2007 16:30:48 -0700,
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.


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