Window.HelpDisplay 属性 |
命名空间: XSharp.VO.SDK
1CLASS MyWindow INHERIT TopAppWindow 2 METHOD Init() CLASS MyWindow 3 SUPER:Init() 4 SELF:HelpDisplay := HelpDisplay{"mywind.hlp"} 5 6 METHOD MenuCommand(oMCE) CLASS MyWindow 7 LOCAL nItemID := oMCE:ItemID 8 9 DO CASE 10 CASE nItemID = IDM_MENU_HELP_INDEX_ID 11 SELF:HelpDisplay:Show("HelpIndex") 12 CASE nItemID = IDM_MENU_HELP_USINGHELP_ID 13 SELF:HelpDisplay:Show("HelpOnHelp") 14 OTHERWISE 15 SUPER:MenuCommand(oMCE) 16 ENDCASE