Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems ( B.. ): VFP cannot compare ActiveX objects
Message
 
To
22/01/2004 11:27:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00869533
Message ID:
00870484
Views:
7
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
Previous
Reply
Map
View

Click here to load this message in the networking platform