General information
Category:
ActiveX controls in VFP
Title:
Inconsistent OLEControl / ActiveX Method Return Type
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only