On Sat, 2012-12-01 at 07:29 +0100, Fabien Bodard wrote:
> Not addonname.index but addonname[index]
>
> Le 1 déc. 2012 07:28, "Fabien Bodard" a écrit :
> Simply tous need to store the menu instance in an array or a
> collection.
>
> Collection is usefully as you c
Not addonname.index but addonname[index]
Le 1 déc. 2012 07:28, "Fabien Bodard" a écrit :
> Simply tous need to store the menu instance in an array or a collection.
>
> Collection is usefully as you can retrieve menu from a name
> So in your form header
> Private $colMenu as new collection
>
> In
Simply tous need to store the menu instance in an array or a collection.
Collection is usefully as you can retrieve menu from a name
So in your form header
Private $colMenu as new collection
In the menu creation:
...
$colMenu[AddonName.index]=hmenu
...
For delete
$colMenu[AddonName.index] .delet
On Sat, 2012-12-01 at 11:00 +1030, Bruce wrote:
> On Sat, 2012-12-01 at 01:13 +0100, Willy Raets wrote:
> > I have this piece of code (in a rather big project) that build op a menu
> > during run time in case AddOns get installed. Each installed AddOn gets
> > it own Menu Item upon installation for
On Sat, 2012-12-01 at 01:13 +0100, Willy Raets wrote:
> I have this piece of code (in a rather big project) that build op a menu
> during run time in case AddOns get installed. Each installed AddOn gets
> it own Menu Item upon installation for launching the AddOn. THis all
> works like clockwork.
>
I have this piece of code (in a rather big project) that build op a menu
during run time in case AddOns get installed. Each installed AddOn gets
it own Menu Item upon installation for launching the AddOn. THis all
works like clockwork.
This is the code that creates the menu items for each Add On i