Jazz Soft 您要聯絡嗎?   JazzSoft@live.com     繁體字漢語   英語  日語  繁體字漢語  簡體字漢語
提供半導體工廠自動化與生産效率改善法 
Skip Navigation Links首頁 > 產品一覽 > Swing > Swing HSMS 詳細資料 > Methods > Config

Swing HSMS 詳細資料   

Properties
Active
Appearance
BorderStyle
IniFile
IniSection
IPAddress
LocalPortNumber
Log
LogFile
MaxLength
PortNumber
Selected
Server
Show
T3
T5
T6
T7
T8

Methods
Config
ConvertIPAddress
Disconnect
GetHostName
LoadIni
Send

Events
Connected
Errors
Read
SelConnection

Config Method

Show dialog box to edit properties.

Syntax

Visual Basic

Function Config(pszTitle As String) As Boolean


Visual C++

BOOL Config(LPCTSTR pszTitle)


ArgumentDescription
pszTitleCaption title of dialog box. If this value is NULL or empty string, IniSection Property is used for caption title.

Return Value

Example

Visual Basic

.Config "HSMS Configuration"


Visual C++

m_hsms.Config("HSMS Configuration");

Remarks

If user press OK button to close dialog box, ActiveX control will save properties to .ini file specified by IniFile Property and IniSection Property. After save procedure has been completed successfully, this method returns True. To retrieve saved information from .ini file, call LoadIni Method.

When port has already been opened (when Active Property is True), it is impossible to change IPAddress Property, PortNumber Property and LocalPortNumber Property.

See Also

您要聯絡嗎?   JazzSoft@live.com
  Copyright © 1997 - 2019 Jazz Soft, Inc.