Show modal dialog box to edit properties.
構文
|
Function Config (pszTitle As String) As Boolean
|
|
BOOL Config(LPCTSTR pszTitle)
|
pszTitle | Caption title of dialog box. If this value is NULL or empty string, IniSection Property is used for caption title. |
戻り値
使用例
|
.Config "SECS Configuration"
|
|
m_secs.Config("SECS Configuration");
|
特記事項
If user clicks OK button to close dialog box, then ActiveX control saves all the properties to ini file specified by IniFile Property and IniSection Property. If saving procedure is successfully completed, then ActiveX returns true. To load and set properties from .ini file, call LoadIni Method.
If serial port has already been opening (Active Property is True), it is impossible to edit CommPort Property and BaudRate Property (see above).
参照
|