Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inconsistent OLEControl / ActiveX Method Return Type
Message
De
26/06/2000 18:30:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Inconsistent OLEControl / ActiveX Method Return Type
Divers
Thread ID:
00384828
Message ID:
00384828
Vues:
74
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?
Répondre
Fil
Voir

Click here to load this message in the networking platform