Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Easy Label error
Message
 
 
À
28/02/2003 08:08:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00758795
Message ID:
00759337
Vues:
19
This message has been marked as the solution to the initial question of the thread.
>Thanks Sergey, that got it. You were the 2nd person to suggest that.
>
>If you are so willing.....why does that work and the other does not?
>
Alan,

VFP hosted all activex controls inside OLE containers. In case #1 you directly reference activex control. In case #2 you reference OLE container and VFP internally translates it into reference to the activex. VFP wouldn't do such translatation if OLE container has the same property/method as activex control. However I don't know the reason why it dosn't work in your case.
* #1
thisform.olecontrol1.OBJECT.field("TEXT1") = "test comment"
* #2
thisform.olecontrol1.field("TEXT1") = "test comment"
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform