Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
SalString ContextMenuNameGet( )
The ContextMenuNameGet returns the name of the popup menu to show when the user clicks with the right mouse-button or presses Shift+F11.
The return value is the name of the named menu to display.
The framework provides a default implementation of the ContextMenuNameGet function for all window objects. This default implementation will return the standard menu names menuFrmMethods, menuTbwMethods etc.
Applications that wish to use a non-standard menu should override ContextMenuNameGet and return the name of the menu to be used.
public new SalString ContextMenuNameGet() { #region Local Variables #endregion #region Actions using (new SalContext(this)) { return "menuDataFieldFree"; } #endregion