The Field_BDLCreateSubmenu() function adds a submenu to a button drop list control.


Field_BDLCreateSubmenu(field, parent_ID, string_expression {, value})


field – A button drop list field.

parent_ID – The ID of the submenu to which the new submenu is being added. Use the value 0 if the submenu is being added at the first level of the button drop list.

string_expression – A string containing the text for the submenu item.

value – An optional long integer value that will be associated with submenu item. If this parameter isn’t used, 0 will be associated with the submenu item.

Return value

An integer containing the ID of the new submenu.


Each new submenu will be added to the end of the specified button drop list or submenu.

Documentation Feedback