![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi, I'm working with an ocx in a pdx10 environment. I need to control some properties in an ocx for rtf to pdf conversion. The problem is that these properties can be accessed by a sub object interface and I'm not able to call it. Eg. var oa oleauto me oleauto dy DynArray[] String v1 Longint v2 Longint v3 Longint endvar oa.attach(#PDF) ; --- OCX oa.enumProperties(dy) dy.view("#PDF Properties") ; --- it works ; --- sub object interface --- if not me.openObjectTypeInfo(oa,"IWPEditor") then errorshow() msgstop("Error","not Opened") else msginfo("Message","Opened") endif me.enumMethods(dy) dy.view("sub-Object Methods") ; --- it works me.enumProperties(dy) dy.view("sub-Object Properties") ; --- it works v1=8 v2=16 v3=1 me.SetBProp(v1, v2, v3) ; ---- it does not work Some body can help ? Thanks in Advantage Sincerely Michele |
![]() |
| Thread Tools | |
| Display Modes | |
| |