Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems ( B.. ): VFP cannot compare ActiveX objects
Message
 
À
22/01/2004 11:27:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00869533
Message ID:
00870484
Vues:
8
However, you can check for similar properties:
x=m.this.SelectedItem.key
x2=m.this.SelectedItem.key
?x=x2=.t.
>Hi,
>
>On VFP, any reference to a ActiveX ( not to the Olecontrol container ) object
>is unique; it is usefull like a query reference within the ActiveX only.
>
>Any comparison with other reference to the same object return .F.
>
>Example on a Treeview:
>
>* code on NodeClick
>? m.this.SelectedItem = m.this.SelectedItem && .F.
> x = m.this.SelectedItem
>x2 = m.this.SelectedItem
>? x = x   && .T.
>? X = X2  && .F.
>
>
>Then:
>a) It is true for all ActiveX ( a Interface behaviour ? )
>b) Is this by design ?
>
>Thanks.
>
>Fabio
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform