Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class in .vcx same name as .vcx
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01508588
Message ID:
01509667
Views:
65
Thank you, Ken. This is helpful.

>Dmitry, there is no problem in having a VCX class name with the same name as the VCX file name itself. On a related topic, you can rename a class in the Class Browser and it will automatically update all subclasses and object instances of it in any other VCX class loaded in the Class Browser at that time. And you can open one or more PJX project file into the Class Browser and it will automatically load all VCXs in all those projects.
>
>
>>>>I am very sorry if I asked this question before; since I have thought about it many times. And I just simply don't remember if I asked it publicly.
>>>>
>>>>Is there any downside to having name of the class library (.vcx) and a class in it being the same. For example,
>>>>my_class.vcx
>>>>my_class (class in the my_class.vcx)
>>>>
>>>go with it if you take the one class per vcx path -
>>>otherwise think on descriptive names for your brain
>>
>>In my case it is not really one class per vcx but in several vcx's I have a class of the same name as the vcx itself. And I just want to be sure that I will not regret it at some point later.
>>Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform