Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
(Object) = (Object): Operator/operand type mismatch
Message
From
30/10/1998 12:50:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00152639
Message ID:
00152914
Views:
26
>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,
Totally agree on having a check for name existence. Just my curiosity, except application, which object(s) doesn't have name property ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform