隱藏目錄

Button Properties

Use the Button properties pane to add a command button that launches an application, add-in, or Web page.

To display this pane:

In the Card Editor, click Button (Controls toolbar), and click in the card to place the button.

Caption

The caption for the command button.

If you leave the edit box empty, the button will not have a caption.

Command type

The type of action the button command should perform:
  • Command String - Enter a command in the Command field to be run when the button is clicked. For example, the command could be the name of an executable file, such as notepad.exe. Click to add dynamic triggers to the command string. Enclose commands and triggers containing spaces with quote signs).
    • Browse - Opens the browse for file dialog box, where you can select a file to be used in the command field.
      The file and path must be available to all client systems intending to use the command button.
    • File Path (%1) - Adds the full file path to currently selected file.
    • File Vault Name (%2) - Adds the current vault name.
    • File Name (%3) - Adds the file name of currently selected file.
    • File Extension (%4) - Adds the file extension of currently selected file.
    • Folder Path (%5) - Adds the folder path of currently selected file.
  • Browse for File - Opens a browse for file dialog box for the user to select a file.
    • Dialog box caption - Title of the browse for file dialog box.
    • Destination variable - Select a data card variable to hold the full path to the file that is selected in the browse dialog box.
    • Only files in the vault - The user can select only vault files.
    • Path relative to vault root - The file path of the selected file is shown relative to the vault root.
    • Permit multiple selection - The user can select multiple files in the browse for file dialog box.
  • Browse for Folder - Opens a browse for folder dialog box for the user to select a folder.
    • Dialog box caption - Title of the browse dialog box.
    • Destination variable - Select a data card variable to hold the full path of the folder that is selected in the browse dialog box.
    • Only files in the vault - The user can select only vault folders.
    • Path relative to vault root - The file path of selected folder is shown relative to the vault root.
  • Run Add-in - Launches an installed Enterprise PDM add-in.
    • Name of add-in - Type the name of the add-in.
  • Web Page - Opens a Web page.
    • WWW-address - Type the URL of the Web page.


提供對此主題的意見反應

SOLIDWORKS 歡迎您提供有關於文件呈現方式、正確性、及完整性的意見反應。請使用下方的表格直接將您對此主題的意見與建議傳送給我們的文件團隊。文件團隊並無法回答關於技術支援的問題。按一下此處來獲得關於技術支援的資訊

* 必要的

 
*電子郵件:  
主旨:   說明主題的意見反應
頁面:   Button Properties
*意見:  
*   我承認已閱讀且僅此接受隱私權政策,Dassault Systèmes 將遵循此政策之規定使用我的個人資料

列印主題

選擇要列印的內容範圍:

x

偵測到您使用的瀏覽器版本是舊於 Internet Explorer 7。要獲得最佳的顯示,建議您升級瀏覽器到 Internet Explorer 7 或更新的版本。

 不要再次顯示此訊息
x

Web 式說明內容版本:SOLIDWORKS PDM 2014 SP05

要從 SOLIDWORKS 中停用 Web 式的說明並改用本機說明,請按一下說明 > 使用 SOLIDWORKS Web 式說明

要報告在 Web 式說明介面及搜尋中遇到的問題,請聯絡您當地的技術支援代表。要針對個別說明主題提供意見反應,請使用個別主題頁面中的「提供對此主題的意見反應」連結。