Click or drag to resize

Window.HelpDisplay Property (Typed)

X#
The help display object currently used by this window. This help display object provides a connection between the help file to be displayed and this window.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL PROPERTY HelpDisplay AS HelpDisplay GET SET 
Request Example View Source

Property Value

Type: HelpDisplay
The help display object currently used by this window. This help display object provides a connection between the help file to be displayed and this window.
Examples
The following example handles the default Help menu command:
X#
 1CLASS MyWindow INHERIT TopAppWindow
 2METHOD Init() CLASS MyWindow
 3SUPER:Init()
 4SELF:HelpDisplay := HelpDisplay{"mywind.hlp"}
 5METHOD MenuCommand(oMCE) CLASS MyWindow
 6LOCAL nItemID := oMCE:ItemID
 7DO CASE
 8CASE nItemID = IDM_MENU_HELP_INDEX_ID
 9SELF:HelpDisplay:Show("HelpIndex")
10CASE nItemID = IDM_MENU_HELP_USINGHELP_ID
11SELF:HelpDisplay:Show("HelpOnHelp")
12OTHERWISE
13SUPER:MenuCommand(oMCE)
14ENDCASE
See Also