Click or drag to resize

AppWindow.EnableSystemMenu Method (Typed)

X#
Enable/disable a system menu in an application window.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD EnableSystemMenu(
	 lEnable AS LOGIC
) AS VOID
Request Example View Source

Parameters

lEnable
Type: Logic
TRUE enables the system menu; FALSE disables it. The default is TRUE.

Return Value

Type: 
If the system menu is enabled, a system menu is returned; if disabled, NIL is returned.
Examples
The following example enables a system menu in an application window:
X#
1oSysMenu := oAppWindow:EnableSystemMenu(TRUE)
See Also