Jazz Soft Contact us?   JazzSoft@live.com     English   English  Japanese  Chinese (Traditional)  Chinese (Simlified)
Factory Automation & Yield Management Solution Provider 
Skip Navigation LinksHome > Products > Swing > Swing SECS I Reference > Methods > Config

Dorian.Core is added. Dorian now supports .NET 6 and 7.

Swing SECS I Reference   

Properties
Active
Appearance
BaudRate
BorderStyle
CommPort
DeviceID
IniFile
IniSection
Log
LogFile
Master
MSEC
Retry
Show
T1
T2
T3
T4

Methods
Config
LoadIni
Send

Events
Errors
Read
SelMsg
Written

Config Method

Show modal 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 "SECS Configuration"


Visual C++

m_secs.Config("SECS Configuration");

Remarks

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).



See Also

Contact us?   JazzSoft@live.com
  Copyright © 1997 - 2024 Jazz Soft, Inc.