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.