create a menu with api

Hi,
I know how to add a menu with the API but How can I create a Menu in a Form only by using the API?
Olivier
[123 byte] By [odu] at [2007-11-17 17:06:14]