EasyManua.ls Logo

Teklynx Discover ActiveX - Page 33

Teklynx Discover ActiveX
165 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2 -- 25
Reference Guide
"
""
" Application.ShowHelp
VTS_NONE ShowHelp(strHelpFile, longHelpContext)
This method activates a help file.
Parameters:
strHelpFile Optional VT_BSTR or String
. Specifies the help
file to open (.HLP or .CHM). If not specified, associated help file
is opened.
longHelpContext Optional VT_I4 or Long
. Specifies the id context
to jump to. If not specified, general index is prompted.
"
""
" Application.Move
VTS_NONE Move( longposLeft, longposTop)
Moves the application window to the specified position (posLeft,
posTop), in pixel unit.
Parameters:
longposLeft RequiredVT_I4orLong
. Sets the distance
between the left edge of the main window of the application and
the left edge of the screen(in pixel unit).
longPosTop RequiredVT_I4orLong
. Sets the distance
between the top edge of the main window of the application and
the top edge of the screen (in pixel unit).
"
""
" Application.Resize
VTS_NONE Resize( longWidth, longHeight)
Resizes the application window (Width, Height), in pixel unit.
Parameters:
longWidth RequiredVT_I4orLong
. Sets the width of the
main window of the application (in pixel unit).
longHeight RequiredVT_I4orLong
. Sets the height of the
main window of the application (in pixel unit).
"
""
" Application.Quit
VTS_NONE Quit()
Quits the current application. No effect if the application has
been launched manually. First executes a Document.CloseAll
(True) then releases the application.

Table of Contents