Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comparing objects
Message
From
07/08/1998 10:34:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00124254
Message ID:
00124781
Views:
26
>>What if they don't have a parent?
>>
>>Vlad
>>
>>>Thats is why my suggestion first comapre the names of teh two object adn then the names of each one's parent object. If they have the same name and they in the same container then they must be the same object. VFP would bark up a storm if we tried to put two object with the same name in the same container.
>
>Vlad,
>
>Like forms? There cannot be two forms having the same name at one time.
Jim,
What if forms are called :
for ix=1 to 5
    do form myform
endfor
Wouldn't I have 5 forms all with the same name ? Compobj() + Ken Levy's caption change trick (In Hacker's Guide to VFP3) seem to be more secure and if ever names couldn't be same than compobj() wouldn't need that trick also.
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
Reply
Map
View

Click here to load this message in the networking platform