`
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 Printed November 23, 2024, 2:25 am This article has been viewed/printed 35206 times. |