ipfc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
:alaunch.
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
 :alaunch run='string' [x=n y=n cx=n cy=n].
 
The :alaunch tag creates a reference to a program. The reference is linked
to the art specified by the preceding :hpart tag. The system starts the
program identified by the string value whenever the user clicks on the art
(or clicks on the area of the art specified by the x, y, cx, and cy
parameters).
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
run        Specifies the program to run. The string value must be a valid
           command line for an MS OS/2 program and must be enclosed in
           single quotation marks (').
 
x          Specifies the x-coordinate of the lower-left corner of the
           portion of the art linked to the launch reference.
 
y          Specifies the y-coordinate of the lower-left corner of the
           portion of the art linked to the launch reference.
 
cx         Specifies the width of the portion of the art linked to the
           launch reference.
 
cy         Specifies the height of the portion of the art linked to the
           launch reference.
 
Example
 
This example uses the :alaunch tag to create a reference to a program (cmd).
The reference is linked to the art file copy.bmp.
 
    :hpart name='copy.bmp'.
    :alaunch run='cmd'.
    :ehpart.
 
See Also
 
 :hpart
 
                                      ♦