Reflection ActiveX Control
StartupMacro property
Syntax |
|
Data type |
Returns (first syntax line) or specifies (second syntax line) the name of a macro in the settings file that should be run when Reflection starts. This property is only relevant if the control is using a settings file. You can designate a start up settings file using StartupSettingsFile. (Note: To use Reflection for IBM macros, both the *.rsf and *.rvx files must be available.)
If you have added a control to a Visual Basic form, you can set the value of this property by selecting the control on your form and using the Properties window.
If you are creating a form on a web page, use the following syntax:
<OBJECT ID ="RibmCtrl"
CLASSID="clsid:7D3AFC5D-6CFF-4E1F-9C41-033422F85734"
<PARAM NAME="StartupSettingsFile" VALUE="C:\Demo\MyFile.rsf">
<PARAM NAME="StartupMacro" VALUE="MyMacro">
</OBJECT>
Note
· You can also configure the Reflection ActiveX control to run macros using the RunMacro method. Macros specified using StartupMacro run before the Reflection control appears in the browser window. Macros executed using RunMacro always run after the control has appeared in the browser.