Login
`
Templates, Tools and Utilities
|
||
Icetips Article
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, 7:40 am This article has been viewed 35204 times.
|
|