` Referencing an OCX in another window (Leonid Chudakov ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

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, 3:47 am
This article has been viewed 35202 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: