Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Referencing an OCX in another window 1998-12-03 -- Leonid Chudakov In order to access OCX control in a different window I'm doing the
following:
Declare two global vars
WindowVar reference variable of WINDOW type
OCXVar as LONG
In a After Opening the Window embed point of the OCX conatining window I
put:
WindowVar &= OCXWindow
OCXVar = ?Ole1
Where OCXWindow is the window lable.
Now you can access your OCX from another window by:
WindowVar$OCXVar{'TheOCXProperty'} = SomeVariable
Today is November 21, 2024, 6:45 am This article has been viewed 35203 times.
|
|