Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unusual OCX behavior with _screen.activeform
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Unusual OCX behavior with _screen.activeform
Divers
Thread ID:
01205230
Message ID:
01205230
Vues:
65
I'm experimenting with an OCX that (in my limited experience) is exhibiting odd behavior in terms of the "ActiveForm" concept. Normally when I have put controls on a form (here I mean either VFP controls or OLE control), including, for example, the DHTMLEdit control, the reference to _screen.activeform references the VFP form object. If the OleControl is called "OleControl1", then you can get at it with _screen.activeform.OleControl1

With this new OLE control, when the VFP form is instantiated, _screen.activeform instead refers to the OLE control, and the only way I can find to get to the VFP form object is with _screen.activeform.parent

I don't understand why this is happening.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform