Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inconsistent OLEControl / ActiveX Method Return Type
Message
From
26/06/2000 18:30:50
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Inconsistent OLEControl / ActiveX Method Return Type
Miscellaneous
Thread ID:
00384828
Message ID:
00384828
Views:
65
When calling a method of an ActiveX control (wrapped in an olecontrol) as a relative reference from the command box ( i.e. ? form1.control1.methodname() ) it returns the proper type (numeric / 0 (Zero) to be exact), but returns the empty string when the same method is called within code of a containing custom descended class (about 3 references/containers deep: Custom->Form->OLEControl->ActiveX).

This happens with all calls of a similar nature. I have 3 non-visual activex controls from the same source (all closely related in function as well) on this form.

As I understand vfp, it should always return a numeric (the ActiveX control's documented behavior) no matter the context.

Any ideas of what could be going on vfp wise?
Reply
Map
View

Click here to load this message in the networking platform