コード例 #1
0
ファイル: help.py プロジェクト: zhangxuan1340/odooX64
def SelectAndRunHelpFile():
    from pywin.dialogs import list
    helpFiles = ListAllHelpFiles()
    if len(helpFiles) == 1:
        # only 1 help file registered - probably ours - no point asking
        index = 0
    else:
        index = list.SelectFromLists("Select Help file", helpFiles, ["Title"])
    if index is not None:
        OpenHelpFile(helpFiles[index][1])
コード例 #2
0
def SelectAndRunHelpFile():
    from pywin.dialogs import list
    helpFiles = ListAllHelpFiles()
    index = list.SelectFromLists("Select Help file", helpFiles, ["Title"])
    if index is not None:
        OpenHelpFile(helpFiles[index][1])