Sets or gets a value which determines whether host application menus will be generated as menu button controls on the form.
object.UseMenus as Integer
A menu button control is used to provide a clickable button to the user for each menu item.
The recognition engine will automatically generate menu controls when it identifies a pattern of fields consistent with a menu display. Setting this property to False for the form will prevent menu controls from being generated.
![]() |
![]() |
A menu on a form with UseMenus set to True. |
The same menu on a form with UseMenus set to False. |
Changing this property at run-time will cause the dynamic recognition engine to recreate the form and will result in the loss of any data that has been entered by the user. This property should not be changed within the Form events OnReceive or OnRefresh.
Category rules | UseCheckBoxes property | UseComboBoxes property | UseCommandCombos property | UseDateCombos property | UseGrids property | UseHyperlinks property | UseLines property | UseMultiLineTextBoxes property | UseOptionButtons property | UsePromptButtons property | UseUpDowns property | UseURLs property | Properties