|
SetOptions Function
|
|
|
Prototype
|
Public Declare Function SetOptions Lib "TclBridge.dll" (ByVal plNewOptions As Long) As Long
|
|
Input
|
The "plNewOptions" parameter, which specifies the new options for created interpreters.
Please refer to the TCLBOptions page for the available options.
|
|
Output
|
None.
|
|
Returns
|
The new options for created objects or zero upon failure.
|
|
COM Results
|
Not applicable.
|
|
Side Effects
|
None.
|
|
Description
|
None.
|
|
Notes
|
This function must be called before the creation of any objects the options should be effective for.
The "TclBridge_Options" environment variable must be used to specify the component startup options.
The declaration for this function is in the "TclBridgeSupport" (TCLBSUPT.BAS) module.
|
|
Example
|
Private Sub Command1_Click()
Call SetOptions(TCLBOptions.TCLB_oNO_TK) MsgBox "Options = " & GetOptions(), vbInformation, App.Title End Sub |