Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

WVBXControl:Init() Method
Construct a VBX control
------------------------------------------------------------------------------

Syntax
WVBXControl{ <oParent>, <nId>, <aParams>, <lCreate> }   -->   SELF

Arguments
<oParent> is the parent (owner) dialog.  Just as <oParent> is
the owner of the control object, the parent's hWnd will be the
actual owner of the control's window (if it has a window on
the screen).

<nId> is an optional number.  It will (eventually) default to
self:CreateId(), but you normally specify it as the same
value as in a dialog containing the control.

<aParams> is an array
               { [ <cFile> ] , [ <cClass> ] , [<aEvents> ] }
where:

<cFile> optionally specifies the file containing the VBX control.

<cClass> optionally specifies the class name.

<aEvents> optionally specifies an array of events the VBX can
send (fire) and the associated code block to handle each.

<lCreate> specifies whether the control's Create() method is
to be invoked immediately.  Usually you want the default (.F.).

Returns
SELF.

Description
This method constructs a VBX control object and can carry out
run-time initialisation.  It is used internally, e.g. by the
@ ID ... VBX command.

Example


See Also: @ ID ... VBX

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson