隱藏目錄

Edit-box Properties

Use the Edit-box properties pane to specify how an edit box control can let users view and enter values stored in the vault database.

To display this pane:

In the Card Editor, click Edit (Controls toolbar), and click in the card to place the edit box.

Value

An edit box must be linked to a variable. The value entered in the variable is stored in the vault database.

Variable name

Select from existing variables defined in the vault.

Variables

Click to open the Edit Variables dialog box to create a new variable, or check the properties of an existing variable.

Validation

Depending on the variable type, validation restricts the length or values that can be entered in the edit box. For example, if the variable is Date, you specify a date range to be validated.

Check Min or Max and enter a value or range.

Flags

Read-only

Makes the edit box read-only, so that values cannot be entered by the user.

Show in Explorer

The variable and stored value of the edit box is shown in the client Preview tab.

Multiline

Allows multiple text lines to be entered into the edit box. The text wraps automatically.

Updates all configurations

All file card configuration tabs are updated by the value entered in the edit box.

Default value

Select an option to automatically enter a default value in the edit box when new files or items are created. See Assigning Default Values.

Text value

Enter a static text string to be used as the default value.

Special value

Select a dynamic value to be used as the default value.
  • Current time
  • File name
  • File name without extension
  • File path - Full path and file name to the selected file
  • Logged in user
  • Today's date - Current date
  • User (xx) - Full name, initials, or user data of logged in user.

Serial number

Select a serial number to be used as the default value.

Folder data card variable

Select a folder data card variable whose value will be used as the default value.

For example, if you select the folder card variable Project and the folder data card has a value of P05, when a user adds a new file to the folder, the edit box has the default value P05.

File data card variable

(Item cards only.) Select a file data card variable whose value will be used as the default value.

For example, if you select the file data card variable Project and a file has a value of P05, when a user creates a new item from the file, the edit box has the default value P05.

When creating items for configurations, values come from the referenced configuration, or if empty, the custom properties (@ tab). Therefore, if you want item card values to exactly match configuration values, ensure that all mapped configuration variables have values by defining those properties as required. Alternatively, do not use custom properties.

When creating items for CAD files (not specific configurations), values come from the custom properties.

Default overwrites

Overwrites the existing variable value with the default value when users copy or add files or items.

Excluded Configurations Configurations from which to exclude default values.

Exclusion occurs when files are added to the vault or when the addition of a new configuration generates default values.

Type one configuration name per line.

You can use * as a wildcard. For example *magnet* excludes all configurations with "magnet" in the configuration name.

Configurations are not excluded if users manually generate values such as serial numbers.

Input formula

Specify an input formula to populate an edit box control with a string built up by values from variables linked to other controls on the data card.



提供對此主題的意見反應

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

* 必要的

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

列印主題

選擇要列印的內容範圍:

x

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

 不要再次顯示此訊息
x

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

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

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