Welcome! Log In Create A New Profile

Advanced

Ping Walrus [or anyone that knows] popupmenu

Posted by Carlo Hermus 
Carlo Hermus
Ping Walrus [or anyone that knows] popupmenu
March 02, 2009 12:59AM
Hi,



I saw the post of Walrus on the forum (See below), but no answer attached. Did anyone already solved this? Because I like to know how it is possible.

======================

I would like to add menu items (options) to popupmenus dynamically through a
program. Is this possible?
i.e.

MainMenu
option1
option2

After code is run it should look like this: <-- this is what I need to know

MainMenu
option1
option2
option3 <-- this is added as a string.

This must be a new menuitem.
It could be a list of filenames or something.

=========================

Perhaps is anyone able and willing to help me.
Louis Verbraak
Re: Ping Walrus [or anyone that knows] popupmenu
March 02, 2009 09:03AM
Hello Carlo,

You can add several popupmenus just by placing the following statement in the initialization code of your control (I use this to add another popupmenu to a table-control):

// V2009.01-1b: Het popupmenu uitbreiden met de mogelijkheid om de indeling
// van deze tabel weg te schrijven of te verwijderen.
MySelf..PopupMenu="+"+Popup_Tabel_Instellingen..Name

HTH.
Paulo Oliveira
Re: Ping Walrus [or anyone that knows] popupmenu
March 02, 2009 11:04AM
Adding menu option is one of the new functions for version XIV
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: