Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
(Object) = (Object): Operator/operand type mismatch
Message
 
To
30/10/1998 09:03:17
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00152639
Message ID:
00152834
Views:
20
Hi Cetin,

> o1.name = "x"+o1.name

Be carefull. According to Murphy's law you have at least two controls in the same container with that name. I think it's better to use a property that doesn't have any affect on VFP like Comment (before anyone comments on it *s*, I know that not all objects have a Comment property, but not all have a name property, either).

If you use Name, you should make sure that the parent control (if one exists) doesn't have an object with the same name.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform