Andrus,
It shouldn't be too hard to figure out yourself ... if I had some time to play around with it, I'd probably be able to come up with some sample code for you. Give it a shot and see what you come up with. =0)
~~Bonnie
>>I don't have time to play with this right now, but I think you could probably have a recursive method that "walks down" through the menuitems to copy the sub-items if they exist.
>
>Bonnie,
>
>his may be good solution.
>Where to find sample code for this ?
>
>Andrus.