home *** CD-ROM | disk | FTP | other *** search
- //
- // topicmacro command
- //
-
- /topic TOPICMACRO_COMMAND,WIN31
-
- /title The /topicmacro command
- /keywords /topicmacro;commands
- /browse commands,AUTO
-
- /para
- /text \b\i\fs40,The /topicmacro command {\i0\cf0 (Win 3.1)}
- /endpara
-
- /para \sa150
- The /topicmacro command has the following syntax:
- /endpara
-
- /para \sa150
- /text \b\f3,/topicmacro macro1[;macro2...]
- /endpara
-
- /para \sa150
- The /topicmacro command is used to cause a macro to be run when
- a topic is activated via a hotspot, etc. In this way you can cause
- a macro to be run when a topic is selected.
- Select this to see an
- /link TOPICMACRO_EXAMPLE,Example
- /endpara
-
- /para \sa150
- /text \b,Command Placement
- /endpara
-
- /para
- This command must be placed after the /topic command
- but before any /para command.
- /endpara
-
- /endtopic
-
- /topic TOPICMACRO_EXAMPLE
-
- /topicmacro about()
-
- /para
- This is an example. Notice how the About box came up when you
- chose this topic! That was a /topicmacro running
- /endpara
-
- /endtopic
-