Menu.SetAutoUpdate Method (Typed) | |
Append a section to a specified submenu on a menu. This section automatically keeps track of what MDI child windows are currently open and displays their names on the submenu.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD SetAutoUpdate(
nMenuNumber AS LONG
) AS VOID
public virtual void SetAutoUpdate(
int nMenuNumber
)
Request Example
View SourceParameters
- nMenuNumber
- Type: Long
The offset of the submenu to which the new section should be appended. (For example, if a menu contains the items 'File', 'Edit' and 'View' and the offset is 1, the new section is appended to the 'Edit' submenu.) The default is 0 (the first menu item).
Remarks
In MDI applications, there is typically one menu which contains the titles of any currently open MDI child windows.
After updating a new section, you must reassign the menu to the owner window's Menu property for the change to take effect.
See Also